From 53cab1cd21aa817a3588e64415a26b507ca00edd Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 3 Mar 2020 18:54:39 +0100 Subject: Fix imports --- crates/ra_ide/src/display/navigation_target.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'crates/ra_ide/src/display') diff --git a/crates/ra_ide/src/display/navigation_target.rs b/crates/ra_ide/src/display/navigation_target.rs index c9c14561a..d57451cc8 100644 --- a/crates/ra_ide/src/display/navigation_target.rs +++ b/crates/ra_ide/src/display/navigation_target.rs @@ -3,7 +3,7 @@ use either::Either; use hir::{original_range, AssocItem, FieldSource, HasSource, InFile, ModuleSource}; use ra_db::{FileId, SourceDatabase}; -use ra_ide_db::RootDatabase; +use ra_ide_db::{defs::Definition, RootDatabase}; use ra_syntax::{ ast::{self, DocCommentsOwner, NameOwner}, match_ast, AstNode, SmolStr, @@ -11,11 +11,7 @@ use ra_syntax::{ TextRange, }; -use crate::{ - // expand::original_range, - references::Definition, - FileSymbol, -}; +use crate::FileSymbol; use super::short_label::ShortLabel; -- cgit v1.2.3