From 2c083c993f7aa6c5a9584b51b21e93a121b6fe08 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 23 Nov 2020 21:19:37 +0300 Subject: Minor, import style --- crates/ide/src/references/rename.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/crates/ide/src/references/rename.rs b/crates/ide/src/references/rename.rs index b8725693a..91c64bd4a 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}, -- cgit v1.2.3