diff options
author | Aleksey Kladov <[email protected]> | 2020-05-19 15:43:26 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-05-19 15:43:26 +0100 |
commit | 5c9ebbeaa415a5ff811b3be5058d8cb374e9baac (patch) | |
tree | 0f68b6239a20472fb2fc7055c7b22793b6a72d14 /crates/ra_hir_def/src | |
parent | 38e8f35855efac144373c1b5aab3af050e47e594 (diff) |
Cleanup imports
Diffstat (limited to 'crates/ra_hir_def/src')
-rw-r--r-- | crates/ra_hir_def/src/find_path.rs | 8 |
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 | ||
3 | use std::sync::Arc; | ||
4 | |||
5 | use hir_expand::name::{known, AsName, Name}; | ||
6 | use test_utils::tested_by; | ||
7 | |||
3 | use crate::{ | 8 | use 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 | }; |
10 | use hir_expand::name::{known, AsName, Name}; | ||
11 | use std::sync::Arc; | ||
12 | use test_utils::tested_by; | ||
13 | 15 | ||
14 | const MAX_PATH_LEN: usize = 15; | 16 | const MAX_PATH_LEN: usize = 15; |
15 | 17 | ||