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/traits/tests.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crates/ide_db/src/traits') diff --git a/crates/ide_db/src/traits/tests.rs b/crates/ide_db/src/traits/tests.rs index 84bb25505..2a5482024 100644 --- a/crates/ide_db/src/traits/tests.rs +++ b/crates/ide_db/src/traits/tests.rs @@ -1,10 +1,11 @@ -use crate::RootDatabase; use base_db::{fixture::ChangeFixture, FilePosition}; use expect_test::{expect, Expect}; use hir::Semantics; use syntax::ast::{self, AstNode}; use test_utils::RangeOrOffset; +use crate::RootDatabase; + /// Creates analysis from a multi-file fixture, returns positions marked with $0. pub(crate) fn position(ra_fixture: &str) -> (RootDatabase, FilePosition) { let change_fixture = ChangeFixture::parse(ra_fixture); -- cgit v1.2.3