From ee76e6141e3a6d2dd9c80e260294a4c6360e9fc7 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 6 Feb 2020 12:26:10 +0100 Subject: Fix test imports --- crates/ra_ide/src/ide_db/line_index_utils.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/crates/ra_ide/src/ide_db/line_index_utils.rs b/crates/ra_ide/src/ide_db/line_index_utils.rs index 70bf7253c..faa3d665f 100644 --- a/crates/ra_ide/src/ide_db/line_index_utils.rs +++ b/crates/ra_ide/src/ide_db/line_index_utils.rs @@ -293,12 +293,14 @@ pub fn translate_offset_with_edit( #[cfg(test)] mod test { - use super::*; - use crate::line_index; use proptest::{prelude::*, proptest}; use ra_text_edit::test_utils::{arb_offset, arb_text_with_edit}; use ra_text_edit::TextEdit; + use crate::ide_db::line_index; + + use super::*; + #[derive(Debug)] struct ArbTextWithEditAndOffset { text: String, -- cgit v1.2.3