diff --git a/crates/ide/src/references/rename.rs b/crates/ide/src/references/rename.rs index b8725693aa6..91c64bd4a16 100644 --- a/crates/ide/src/references/rename.rs +++ b/crates/ide/src/references/rename.rs @@ -1,4 +1,9 @@ //! FIXME: write short doc here +use std::{ + convert::TryInto, + error::Error, + fmt::{self, Display}, +}; use hir::{Module, ModuleDef, ModuleSource, Semantics}; use ide_db::base_db::{FileRange, SourceDatabaseExt}; @@ -6,12 +11,6 @@ use ide_db::{ defs::{Definition, NameClass, NameRefClass}, RootDatabase, }; - -use std::{ - convert::TryInto, - error::Error, - fmt::{self, Display}, -}; use syntax::{ algo::find_node_at_offset, ast::{self, NameOwner},