aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_db
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-02-06 17:30:57 +0000
committerGitHub <[email protected]>2020-02-06 17:30:57 +0000
commit918115c32e9a3882d1dd65f2403bd109fc64c798 (patch)
treecd660466355281aea5dfbec84578e529b9c3e393 /crates/ra_ide_db
parent46027e10be3d23643bc41ffa8dc8c7cf4013b21a (diff)
parentf4a4fcf2753f48b81873de5dc39c1159d2a88654 (diff)
Merge #3036
3036: Remove the leftovers after ImportLocator removal r=matklad a=SomeoneToIgnore Follow the FIXME's suggestion (https://github.com/rust-analyzer/rust-analyzer/pull/3034/files#diff-001b3b1412c33fee802c22b0f848dcd7L237) and remove the `ModuleDefId` reexport. Also rename `ImportsLocatorIde` into plain `ImportsLocator` Co-authored-by: Kirill Bulatov <[email protected]>
Diffstat (limited to 'crates/ra_ide_db')
-rw-r--r--crates/ra_ide_db/src/imports_locator.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_ide_db/src/imports_locator.rs b/crates/ra_ide_db/src/imports_locator.rs
index d77fc53f3..401b8ac0b 100644
--- a/crates/ra_ide_db/src/imports_locator.rs
+++ b/crates/ra_ide_db/src/imports_locator.rs
@@ -12,11 +12,11 @@ use crate::{
12 RootDatabase, 12 RootDatabase,
13}; 13};
14 14
15pub struct ImportsLocatorIde<'a> { 15pub struct ImportsLocator<'a> {
16 source_binder: SourceBinder<'a, RootDatabase>, 16 source_binder: SourceBinder<'a, RootDatabase>,
17} 17}
18 18
19impl<'a> ImportsLocatorIde<'a> { 19impl<'a> ImportsLocator<'a> {
20 pub fn new(db: &'a RootDatabase) -> Self { 20 pub fn new(db: &'a RootDatabase) -> Self {
21 Self { source_binder: SourceBinder::new(db) } 21 Self { source_binder: SourceBinder::new(db) }
22 } 22 }