mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-24 12:24:11 +00:00
Minor, import style
This commit is contained in:
parent
224387a4de
commit
2c083c993f
1 changed files with 5 additions and 6 deletions
|
@ -1,4 +1,9 @@
|
||||||
//! FIXME: write short doc here
|
//! FIXME: write short doc here
|
||||||
|
use std::{
|
||||||
|
convert::TryInto,
|
||||||
|
error::Error,
|
||||||
|
fmt::{self, Display},
|
||||||
|
};
|
||||||
|
|
||||||
use hir::{Module, ModuleDef, ModuleSource, Semantics};
|
use hir::{Module, ModuleDef, ModuleSource, Semantics};
|
||||||
use ide_db::base_db::{FileRange, SourceDatabaseExt};
|
use ide_db::base_db::{FileRange, SourceDatabaseExt};
|
||||||
|
@ -6,12 +11,6 @@ use ide_db::{
|
||||||
defs::{Definition, NameClass, NameRefClass},
|
defs::{Definition, NameClass, NameRefClass},
|
||||||
RootDatabase,
|
RootDatabase,
|
||||||
};
|
};
|
||||||
|
|
||||||
use std::{
|
|
||||||
convert::TryInto,
|
|
||||||
error::Error,
|
|
||||||
fmt::{self, Display},
|
|
||||||
};
|
|
||||||
use syntax::{
|
use syntax::{
|
||||||
algo::find_node_at_offset,
|
algo::find_node_at_offset,
|
||||||
ast::{self, NameOwner},
|
ast::{self, NameOwner},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue