From 1ef55002c2db4ca68df31306290b019c7fbfb4fb Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Sat, 27 Mar 2021 21:51:00 +0100 Subject: Cleanup ide_db imports --- crates/ide_db/src/helpers/insert_use.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crates/ide_db/src/helpers/insert_use.rs') diff --git a/crates/ide_db/src/helpers/insert_use.rs b/crates/ide_db/src/helpers/insert_use.rs index e681ced80..be3a22725 100644 --- a/crates/ide_db/src/helpers/insert_use.rs +++ b/crates/ide_db/src/helpers/insert_use.rs @@ -1,7 +1,6 @@ //! Handle syntactic aspects of inserting a new `use`. use std::{cmp::Ordering, iter::successors}; -use crate::RootDatabase; use hir::Semantics; use itertools::{EitherOrBoth, Itertools}; use syntax::{ @@ -14,6 +13,8 @@ use syntax::{ AstToken, InsertPosition, NodeOrToken, SyntaxElement, SyntaxNode, SyntaxToken, }; +use crate::RootDatabase; + pub use hir::PrefixKind; #[derive(Clone, Copy, Debug, PartialEq, Eq)] -- cgit v1.2.3