Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide-db/src/helpers.rs')
-rw-r--r--crates/ide-db/src/helpers.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/ide-db/src/helpers.rs b/crates/ide-db/src/helpers.rs
index ebafc8876f..340429037e 100644
--- a/crates/ide-db/src/helpers.rs
+++ b/crates/ide-db/src/helpers.rs
@@ -6,13 +6,14 @@ use base_db::SourceDatabase;
use hir::{Crate, ItemInNs, ModuleDef, Name, Semantics};
use span::{Edition, FileId};
use syntax::{
- ast::{self, make},
AstToken, SyntaxKind, SyntaxToken, ToSmolStr, TokenAtOffset,
+ ast::{self, make},
};
use crate::{
+ RootDatabase,
defs::{Definition, IdentClass},
- generated, RootDatabase,
+ generated,
};
pub fn item_name(db: &RootDatabase, item: ItemInNs) -> Option<Name> {