diff options
author | Aleksey Kladov <[email protected]> | 2019-10-30 16:15:41 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-10-30 16:15:41 +0000 |
commit | cf4f7eb56660cfff355cb6bd41d5c17f7d19571b (patch) | |
tree | 3f0f71a7b9406738b1d15d53970e76302ac624c4 /crates | |
parent | ab559f170ee02e3bdd9aeeb55933bb143b520c34 (diff) |
improve compile time a bit
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_hir_def/src/path.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir_def/src/path.rs b/crates/ra_hir_def/src/path.rs index ddabc7ca6..04039376f 100644 --- a/crates/ra_hir_def/src/path.rs +++ b/crates/ra_hir_def/src/path.rs | |||
@@ -292,7 +292,7 @@ fn expand_use_tree( | |||
292 | prefix: Option<Path>, | 292 | prefix: Option<Path>, |
293 | tree: ast::UseTree, | 293 | tree: ast::UseTree, |
294 | hygiene: &Hygiene, | 294 | hygiene: &Hygiene, |
295 | cb: &mut impl FnMut(Path, &ast::UseTree, bool, Option<Name>), | 295 | cb: &mut dyn FnMut(Path, &ast::UseTree, bool, Option<Name>), |
296 | ) { | 296 | ) { |
297 | if let Some(use_tree_list) = tree.use_tree_list() { | 297 | if let Some(use_tree_list) = tree.use_tree_list() { |
298 | let prefix = match tree.path() { | 298 | let prefix = match tree.path() { |