aboutsummaryrefslogtreecommitdiff
path: root/crates/libeditor
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-18 10:42:28 +0100
committerAleksey Kladov <[email protected]>2018-08-18 10:42:28 +0100
commit4d8be265849c55912467961e09af657176472dcb (patch)
tree6d1808a89a57db69211a1dd5d4f25c4650da10d7 /crates/libeditor
parenta5eeef0eeed092cb663afc3b0cda2c0df0c7e793 (diff)
refactor
Diffstat (limited to 'crates/libeditor')
-rw-r--r--crates/libeditor/Cargo.toml1
-rw-r--r--crates/libeditor/src/lib.rs1
-rw-r--r--crates/libeditor/src/symbols.rs3
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"
9superslice = "0.1.0" 9superslice = "0.1.0"
10 10
11libsyntax2 = { path = "../libsyntax2" } 11libsyntax2 = { path = "../libsyntax2" }
12smol_str = "0.1.0"
13 12
14[dev-dependencies] 13[dev-dependencies]
15assert_eq_text = { path = "../assert_eq_text" } 14assert_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 @@
1extern crate libsyntax2; 1extern crate libsyntax2;
2extern crate superslice; 2extern crate superslice;
3extern crate itertools; 3extern crate itertools;
4extern crate smol_str;
5 4
6mod extend_selection; 5mod extend_selection;
7mod symbols; 6mod 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 @@
1use smol_str::SmolStr;
2use libsyntax2::{ 1use 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},