From 4d8be265849c55912467961e09af657176472dcb Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 18 Aug 2018 12:42:28 +0300 Subject: refactor --- crates/libeditor/src/lib.rs | 1 - crates/libeditor/src/symbols.rs | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'crates/libeditor/src') 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 @@ extern crate libsyntax2; extern crate superslice; extern crate itertools; -extern crate smol_str; mod extend_selection; 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 @@ -use smol_str::SmolStr; use libsyntax2::{ - SyntaxKind, SyntaxNodeRef, AstNode, ParsedFile, + SyntaxKind, SyntaxNodeRef, AstNode, ParsedFile, SmolStr, ast::{self, NameOwner}, algo::{ visit::{visitor, Visitor}, -- cgit v1.2.3