diff options
Diffstat (limited to 'crates/ra_ide/src')
-rw-r--r-- | crates/ra_ide/src/imports_locator.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide/src/imports_locator.rs b/crates/ra_ide/src/imports_locator.rs index b2fc48159..48b014c7d 100644 --- a/crates/ra_ide/src/imports_locator.rs +++ b/crates/ra_ide/src/imports_locator.rs | |||
@@ -41,7 +41,7 @@ impl<'a> ImportsLocatorIde<'a> { | |||
41 | } | 41 | } |
42 | } | 42 | } |
43 | 43 | ||
44 | impl<'a> ImportsLocator for ImportsLocatorIde<'a> { | 44 | impl ImportsLocator for ImportsLocatorIde<'_> { |
45 | fn find_imports(&mut self, name_to_import: &str) -> Vec<ModuleDef> { | 45 | fn find_imports(&mut self, name_to_import: &str) -> Vec<ModuleDef> { |
46 | let _p = profile("search_for_imports"); | 46 | let _p = profile("search_for_imports"); |
47 | let db = self.source_binder.db; | 47 | let db = self.source_binder.db; |