From a3b9aecc9b51f4d02cdcfb00fd5d8b031eff8a56 Mon Sep 17 00:00:00 2001 From: Edwin Cheng Date: Tue, 28 May 2019 00:54:32 +0800 Subject: Minor use module --- crates/ra_mbe/src/syntax_bridge.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'crates/ra_mbe/src') diff --git a/crates/ra_mbe/src/syntax_bridge.rs b/crates/ra_mbe/src/syntax_bridge.rs index caeb842b1..c0a3fec35 100644 --- a/crates/ra_mbe/src/syntax_bridge.rs +++ b/crates/ra_mbe/src/syntax_bridge.rs @@ -3,8 +3,7 @@ use ra_syntax::{ AstNode, SyntaxNode, TextRange, SyntaxKind, SmolStr, SyntaxTreeBuilder, TreeArc, SyntaxElement, ast, SyntaxKind::*, TextUnit, T }; -use tt::buffer::Cursor; - +use tt::buffer::{TokenBuffer, Cursor}; use crate::subtree_source::{SubtreeTokenSource}; use crate::ExpandError; @@ -50,7 +49,7 @@ fn token_tree_to_syntax_node(tt: &tt::Subtree, f: F) -> Result