aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/find_path.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir_def/src/find_path.rs')
-rw-r--r--crates/ra_hir_def/src/find_path.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir_def/src/find_path.rs b/crates/ra_hir_def/src/find_path.rs
index 79f4afab6..e6cd89478 100644
--- a/crates/ra_hir_def/src/find_path.rs
+++ b/crates/ra_hir_def/src/find_path.rs
@@ -128,7 +128,7 @@ pub(crate) fn find_path_inner(
128 let mut best_path = None; 128 let mut best_path = None;
129 let mut best_path_len = max_len; 129 let mut best_path_len = max_len;
130 130
131 if item.defining_crate(db) == Some(from.krate) { 131 if item.krate(db) == Some(from.krate) {
132 // Item was defined in the same crate that wants to import it. It cannot be found in any 132 // Item was defined in the same crate that wants to import it. It cannot be found in any
133 // dependency in this case. 133 // dependency in this case.
134 134