allow rustfmt to reorder imports

This wasn't a right decision in the first place, the feature flag was
broken in the last rustfmt release, and syntax highlighting of imports
is more important anyway
This commit is contained in:
Aleksey Kladov 2019-07-04 23:05:17 +03:00
parent 2b2cd829b0
commit 1834bae5b8
166 changed files with 798 additions and 814 deletions

View file

@ -1,19 +1,18 @@
use ra_db::{FileId, SourceDatabase};
use ra_syntax::{
AstNode, ast::{self, DocCommentsOwner},
algo::{
find_node_at_offset,
visit::{visitor, Visitor},
},
SyntaxNode,
ast::{self, DocCommentsOwner},
AstNode, SyntaxNode,
};
use crate::{
FilePosition, NavigationTarget,
db::RootDatabase,
RangeInfo,
name_ref_kind::{NameRefKind::*, classify_name_ref},
display::ShortLabel,
name_ref_kind::{classify_name_ref, NameRefKind::*},
FilePosition, NavigationTarget, RangeInfo,
};
pub(crate) fn goto_definition(