aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide
diff options
context:
space:
mode:
authorKirill Bulatov <[email protected]>2020-01-27 12:42:45 +0000
committerKirill Bulatov <[email protected]>2020-01-27 12:42:45 +0000
commit9be1ab7ff948d89334a8acbc309c8235d4ab374f (patch)
treef67692bfdc8a89f3627507cbbc43d4bece823428 /crates/ra_ide
parent9a6b5c6183b2d7aa3d577c3fb12d519721f4a4d0 (diff)
Code review fixes
Diffstat (limited to 'crates/ra_ide')
-rw-r--r--crates/ra_ide/src/imports_locator.rs2
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
44impl<'a> ImportsLocator for ImportsLocatorIde<'a> { 44impl 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;