mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-28 14:03:35 +00:00
improve compile time a bit
This commit is contained in:
parent
ab559f170e
commit
cf4f7eb566
1 changed files with 1 additions and 1 deletions
|
@ -292,7 +292,7 @@ fn expand_use_tree(
|
||||||
prefix: Option<Path>,
|
prefix: Option<Path>,
|
||||||
tree: ast::UseTree,
|
tree: ast::UseTree,
|
||||||
hygiene: &Hygiene,
|
hygiene: &Hygiene,
|
||||||
cb: &mut impl FnMut(Path, &ast::UseTree, bool, Option<Name>),
|
cb: &mut dyn FnMut(Path, &ast::UseTree, bool, Option<Name>),
|
||||||
) {
|
) {
|
||||||
if let Some(use_tree_list) = tree.use_tree_list() {
|
if let Some(use_tree_list) = tree.use_tree_list() {
|
||||||
let prefix = match tree.path() {
|
let prefix = match tree.path() {
|
||||||
|
|
Loading…
Reference in a new issue