remove a unnecessary .. pattern

This commit is contained in:
Takayuki Maeda 2022-03-04 00:57:38 +09:00
parent 06460fe72c
commit ff19c05832

View File

@ -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),