aboutsummaryrefslogtreecommitdiff
path: root/crates/libeditor
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-25 09:47:24 +0100
committerAleksey Kladov <[email protected]>2018-08-25 09:47:24 +0100
commit70333c8edfd9fd958ceb5669b578a33a289473fe (patch)
tree8722c1f5db217be94449ed13103e4bf5ca82d5d6 /crates/libeditor
parent220d285b4afb250e59a08e9b1ad38c2fc2275782 (diff)
remove reesports
Diffstat (limited to 'crates/libeditor')
-rw-r--r--crates/libeditor/src/lib.rs2
-rw-r--r--crates/libeditor/tests/test.rs3
2 files changed, 3 insertions, 2 deletions
diff --git a/crates/libeditor/src/lib.rs b/crates/libeditor/src/lib.rs
index a6e6deba7..da337cca0 100644
--- a/crates/libeditor/src/lib.rs
+++ b/crates/libeditor/src/lib.rs
@@ -10,11 +10,11 @@ mod code_actions;
10mod typing; 10mod typing;
11 11
12use libsyntax2::{ 12use libsyntax2::{
13 File, TextUnit, TextRange,
13 ast::{AstNode, NameOwner}, 14 ast::{AstNode, NameOwner},
14 algo::{walk, find_leaf_at_offset}, 15 algo::{walk, find_leaf_at_offset},
15 SyntaxKind::{self, *}, 16 SyntaxKind::{self, *},
16}; 17};
17pub use libsyntax2::{File, TextRange, TextUnit};
18pub use self::{ 18pub use self::{
19 line_index::{LineIndex, LineCol}, 19 line_index::{LineIndex, LineCol},
20 extend_selection::extend_selection, 20 extend_selection::extend_selection,
diff --git a/crates/libeditor/tests/test.rs b/crates/libeditor/tests/test.rs
index 3114a128e..ab325c520 100644
--- a/crates/libeditor/tests/test.rs
+++ b/crates/libeditor/tests/test.rs
@@ -4,8 +4,9 @@ extern crate libsyntax2;
4extern crate assert_eq_text; 4extern crate assert_eq_text;
5 5
6use assert_eq_text::{assert_eq_dbg}; 6use assert_eq_text::{assert_eq_dbg};
7use libsyntax2::{File, TextUnit, TextRange};
7use libeditor::{ 8use libeditor::{
8 File, TextUnit, TextRange, ActionResult, 9 ActionResult,
9 highlight, runnables, extend_selection, file_structure, 10 highlight, runnables, extend_selection, file_structure,
10 flip_comma, add_derive, add_impl, matching_brace, 11 flip_comma, add_derive, add_impl, matching_brace,
11 join_lines, 12 join_lines,