Replace Symbol::intern
calls with preinterned symbols
This commit is contained in:
parent
72d2db7bf4
commit
71b698c0b8
15 changed files with 40 additions and 35 deletions
|
@ -1563,7 +1563,7 @@ impl UnusedImportBraces {
|
|||
}
|
||||
rename.unwrap_or(orig_ident).name
|
||||
}
|
||||
ast::UseTreeKind::Glob => Symbol::intern("*"),
|
||||
ast::UseTreeKind::Glob => sym::asterisk,
|
||||
ast::UseTreeKind::Nested { .. } => return,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue