aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-05-19 15:43:26 +0100
committerAleksey Kladov <[email protected]>2020-05-19 15:43:26 +0100
commit5c9ebbeaa415a5ff811b3be5058d8cb374e9baac (patch)
tree0f68b6239a20472fb2fc7055c7b22793b6a72d14 /crates/ra_hir_def/src
parent38e8f35855efac144373c1b5aab3af050e47e594 (diff)
Cleanup imports
Diffstat (limited to 'crates/ra_hir_def/src')
-rw-r--r--crates/ra_hir_def/src/find_path.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/crates/ra_hir_def/src/find_path.rs b/crates/ra_hir_def/src/find_path.rs
index 1ca20fabd..c7976535c 100644
--- a/crates/ra_hir_def/src/find_path.rs
+++ b/crates/ra_hir_def/src/find_path.rs
@@ -1,5 +1,10 @@
1//! An algorithm to find a path to refer to a certain item. 1//! An algorithm to find a path to refer to a certain item.
2 2
3use std::sync::Arc;
4
5use hir_expand::name::{known, AsName, Name};
6use test_utils::tested_by;
7
3use crate::{ 8use crate::{
4 db::DefDatabase, 9 db::DefDatabase,
5 item_scope::ItemInNs, 10 item_scope::ItemInNs,
@@ -7,9 +12,6 @@ use crate::{
7 visibility::Visibility, 12 visibility::Visibility,
8 CrateId, ModuleDefId, ModuleId, 13 CrateId, ModuleDefId, ModuleId,
9}; 14};
10use hir_expand::name::{known, AsName, Name};
11use std::sync::Arc;
12use test_utils::tested_by;
13 15
14const MAX_PATH_LEN: usize = 15; 16const MAX_PATH_LEN: usize = 15;
15 17