Rollup merge of #94563 - TaKO8Ki:remove-unnecessary-patten-for-ignoring-remaining-parts, r=Dylan-DPC

Remove a unnecessary `..` pattern
This commit is contained in:
Matthias Krüger
2022-03-03 20:01:49 +01:00
committed by GitHub
+1 -1
View File
@@ -3207,7 +3207,7 @@ fn add_suggestion_for_rename_of_use(
}
}
}
ImportKind::ExternCrate { source, target, .. } => {
ImportKind::ExternCrate { source, target } => {
suggestion = Some(format!(
"extern crate {} as {};",
source.unwrap_or(target.name),