Skip to content

Commit

Permalink
refactor: remove an unnecessary pattern for ignoring all parts
Browse files Browse the repository at this point in the history
  • Loading branch information
TaKO8Ki committed Mar 17, 2022
1 parent 3ba1ebe commit 30fbcdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_resolve/src/late.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1129,7 +1129,7 @@ impl<'a: 'ast, 'b, 'ast> LateResolutionVisitor<'a, 'b, 'ast> {
}

for param in &generics.params {
if let GenericParamKind::Lifetime { .. } = param.kind {
if let GenericParamKind::Lifetime = param.kind {
continue;
}

Expand Down

0 comments on commit 30fbcdb

Please sign in to comment.