mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
Rollup merge of #94563 - TaKO8Ki:remove-unnecessary-patten-for-ignoring-remaining-parts, r=Dylan-DPC
Remove a unnecessary `..` pattern
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user