Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 30fbcdb

Browse files
committedMar 17, 2022
refactor: remove an unnecessary pattern for ignoring all parts
1 parent 3ba1ebe commit 30fbcdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎compiler/rustc_resolve/src/late.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,7 @@ impl<'a: 'ast, 'b, 'ast> LateResolutionVisitor<'a, 'b, 'ast> {
11291129
}
11301130

11311131
for param in &generics.params {
1132-
if let GenericParamKind::Lifetime { .. } = param.kind {
1132+
if let GenericParamKind::Lifetime = param.kind {
11331133
continue;
11341134
}
11351135

0 commit comments

Comments
 (0)
Please sign in to comment.