aboutsummaryrefslogtreecommitdiff
path: root/crates/libeditor/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-25 09:44:17 +0100
committerAleksey Kladov <[email protected]>2018-08-25 09:44:17 +0100
commitcf278ed3bf71d336422f7d7d7d51be92b717b720 (patch)
tree57bc0fa827e9af90be00918ab26d35832d1a1425 /crates/libeditor/src
parent9fae494a8da347a32cdcd3dcd714ba00aaff9664 (diff)
rename file -> root
Diffstat (limited to 'crates/libeditor/src')
-rw-r--r--crates/libeditor/src/lib.rs2
-rw-r--r--crates/libeditor/src/typing.rs1
2 files changed, 1 insertions, 2 deletions
diff --git a/crates/libeditor/src/lib.rs b/crates/libeditor/src/lib.rs
index b2d1dab58..681cca81d 100644
--- a/crates/libeditor/src/lib.rs
+++ b/crates/libeditor/src/lib.rs
@@ -10,7 +10,7 @@ mod code_actions;
10mod typing; 10mod typing;
11 11
12use libsyntax2::{ 12use libsyntax2::{
13 ast::{self, AstNode, NameOwner}, 13 ast::{AstNode, NameOwner},
14 algo::{walk, find_leaf_at_offset}, 14 algo::{walk, find_leaf_at_offset},
15 SyntaxKind::{self, *}, 15 SyntaxKind::{self, *},
16}; 16};
diff --git a/crates/libeditor/src/typing.rs b/crates/libeditor/src/typing.rs
index 8903af177..ebc7c77d2 100644
--- a/crates/libeditor/src/typing.rs
+++ b/crates/libeditor/src/typing.rs
@@ -1,6 +1,5 @@
1use libsyntax2::{ 1use libsyntax2::{
2 TextUnit, TextRange, SyntaxNodeRef, ParsedFile, 2 TextUnit, TextRange, SyntaxNodeRef, ParsedFile,
3 ast,
4 algo::{ 3 algo::{
5 walk::preorder, 4 walk::preorder,
6 find_covering_node, 5 find_covering_node,