aboutsummaryrefslogtreecommitdiff
path: root/crates/libeditor/src
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/src
parenta5eeef0eeed092cb663afc3b0cda2c0df0c7e793 (diff)
refactor
Diffstat (limited to 'crates/libeditor/src')
-rw-r--r--crates/libeditor/src/lib.rs1
-rw-r--r--crates/libeditor/src/symbols.rs3
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 @@
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},