diff options
Diffstat (limited to 'crates/libeditor')
-rw-r--r-- | crates/libeditor/Cargo.toml | 1 | ||||
-rw-r--r-- | crates/libeditor/src/lib.rs | 1 | ||||
-rw-r--r-- | crates/libeditor/src/symbols.rs | 3 |
3 files changed, 1 insertions, 4 deletions
diff --git a/crates/libeditor/Cargo.toml b/crates/libeditor/Cargo.toml index 7b39870cd..55f41c2c5 100644 --- a/crates/libeditor/Cargo.toml +++ b/crates/libeditor/Cargo.toml | |||
@@ -9,7 +9,6 @@ itertools = "0.7.8" | |||
9 | superslice = "0.1.0" | 9 | superslice = "0.1.0" |
10 | 10 | ||
11 | libsyntax2 = { path = "../libsyntax2" } | 11 | libsyntax2 = { path = "../libsyntax2" } |
12 | smol_str = "0.1.0" | ||
13 | 12 | ||
14 | [dev-dependencies] | 13 | [dev-dependencies] |
15 | assert_eq_text = { path = "../assert_eq_text" } | 14 | assert_eq_text = { path = "../assert_eq_text" } |
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}, |