Skip to content

Commit

Permalink
Rollup merge of #94563 - TaKO8Ki:remove-unnecessary-patten-for-ignori…
Browse files Browse the repository at this point in the history
…ng-remaining-parts, r=Dylan-DPC

Remove a unnecessary `..` pattern
  • Loading branch information
matthiaskrgr authored Mar 3, 2022
2 parents 939c158 + ff19c05 commit cfa58df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_resolve/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3207,7 +3207,7 @@ impl<'a> Resolver<'a> {
}
}
}
ImportKind::ExternCrate { source, target, .. } => {
ImportKind::ExternCrate { source, target } => {
suggestion = Some(format!(
"extern crate {} as {};",
source.unwrap_or(target.name),
Expand Down

0 comments on commit cfa58df

Please sign in to comment.