Skip to content

Commit

Permalink
Rollup merge of rust-lang#94563 - TaKO8Ki:remove-unnecessary-patten-f…
Browse files Browse the repository at this point in the history
…or-ignoring-remaining-parts, r=Dylan-DPC

Remove a unnecessary `..` pattern
  • Loading branch information
matthiaskrgr authored Mar 3, 2022
2 parents bb8a82e + ff19c05 commit 2894281
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 2894281

Please sign in to comment.