From cf278ed3bf71d336422f7d7d7d51be92b717b720 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 25 Aug 2018 11:44:17 +0300 Subject: rename file -> root --- crates/libeditor/src/lib.rs | 2 +- crates/libeditor/src/typing.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'crates/libeditor/src') diff --git a/crates/libeditor/src/lib.rs b/crates/libeditor/src/lib.rs index b2d1dab58..681cca81d 100644 --- a/crates/libeditor/src/lib.rs +++ b/crates/libeditor/src/lib.rs @@ -10,7 +10,7 @@ mod code_actions; mod typing; use libsyntax2::{ - ast::{self, AstNode, NameOwner}, + ast::{AstNode, NameOwner}, algo::{walk, find_leaf_at_offset}, SyntaxKind::{self, *}, }; diff --git a/crates/libeditor/src/typing.rs b/crates/libeditor/src/typing.rs index 8903af177..ebc7c77d2 100644 --- a/crates/libeditor/src/typing.rs +++ b/crates/libeditor/src/typing.rs @@ -1,6 +1,5 @@ use libsyntax2::{ TextUnit, TextRange, SyntaxNodeRef, ParsedFile, - ast, algo::{ walk::preorder, find_covering_node, -- cgit v1.2.3