From 28ddecf6c99ef23bc96b9eb7bc8ee049f1732e76 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 6 Dec 2018 21:16:37 +0300 Subject: modernize even more --- crates/ra_syntax/src/reparsing.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crates/ra_syntax/src/reparsing.rs') diff --git a/crates/ra_syntax/src/reparsing.rs b/crates/ra_syntax/src/reparsing.rs index ddcb8f6f6..732fb0e4a 100644 --- a/crates/ra_syntax/src/reparsing.rs +++ b/crates/ra_syntax/src/reparsing.rs @@ -179,10 +179,10 @@ fn merge_errors( #[cfg(test)] mod tests { - use super::{ - super::{test_utils::extract_range, text_utils::replace_range, utils::dump_tree, SourceFileNode}, - reparse_block, reparse_leaf, AtomEdit, GreenNode, SyntaxError, SyntaxNodeRef, -}; + use test_utils::{extract_range, assert_eq_text}; + + use crate::{SourceFileNode, text_utils::replace_range, utils::dump_tree }; + use super::*; fn do_check(before: &str, replace_with: &str, reparser: F) where -- cgit v1.2.3