diff options
Diffstat (limited to 'crates/libeditor/src')
-rw-r--r-- | crates/libeditor/src/lib.rs | 2 | ||||
-rw-r--r-- | crates/libeditor/src/typing.rs | 1 |
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; | |||
10 | mod typing; | 10 | mod typing; |
11 | 11 | ||
12 | use libsyntax2::{ | 12 | use 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 @@ | |||
1 | use libsyntax2::{ | 1 | use 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, |