diff options
Diffstat (limited to 'crates/libeditor/src')
-rw-r--r-- | crates/libeditor/src/lib.rs | 1 | ||||
-rw-r--r-- | crates/libeditor/src/symbols.rs | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/crates/libeditor/src/lib.rs b/crates/libeditor/src/lib.rs index d9d0369f6..abd104af2 100644 --- a/crates/libeditor/src/lib.rs +++ b/crates/libeditor/src/lib.rs | |||
@@ -1,7 +1,6 @@ | |||
1 | extern crate libsyntax2; | 1 | extern crate libsyntax2; |
2 | extern crate superslice; | 2 | extern crate superslice; |
3 | extern crate itertools; | 3 | extern crate itertools; |
4 | extern crate smol_str; | ||
5 | 4 | ||
6 | mod extend_selection; | 5 | mod extend_selection; |
7 | mod symbols; | 6 | mod symbols; |
diff --git a/crates/libeditor/src/symbols.rs b/crates/libeditor/src/symbols.rs index d7bd111e6..b2b05bc6a 100644 --- a/crates/libeditor/src/symbols.rs +++ b/crates/libeditor/src/symbols.rs | |||
@@ -1,6 +1,5 @@ | |||
1 | use smol_str::SmolStr; | ||
2 | use libsyntax2::{ | 1 | use libsyntax2::{ |
3 | SyntaxKind, SyntaxNodeRef, AstNode, ParsedFile, | 2 | SyntaxKind, SyntaxNodeRef, AstNode, ParsedFile, SmolStr, |
4 | ast::{self, NameOwner}, | 3 | ast::{self, NameOwner}, |
5 | algo::{ | 4 | algo::{ |
6 | visit::{visitor, Visitor}, | 5 | visit::{visitor, Visitor}, |