From ad0648dc95d2d1e9d35cd825c2661fe002c02fc9 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 13 May 2021 13:44:47 +0300 Subject: Cleanup imports --- crates/syntax/src/parsing.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'crates/syntax/src') diff --git a/crates/syntax/src/parsing.rs b/crates/syntax/src/parsing.rs index 333bde54a..431ed0699 100644 --- a/crates/syntax/src/parsing.rs +++ b/crates/syntax/src/parsing.rs @@ -6,14 +6,13 @@ mod text_token_source; mod text_tree_sink; mod reparsing; -use crate::{syntax_node::GreenNode, AstNode, SyntaxError, SyntaxNode}; +use parser::SyntaxKind; use text_token_source::TextTokenSource; use text_tree_sink::TextTreeSink; -pub(crate) use lexer::*; +use crate::{syntax_node::GreenNode, AstNode, SyntaxError, SyntaxNode}; -pub(crate) use self::reparsing::incremental_reparse; -use parser::SyntaxKind; +pub(crate) use crate::parsing::{lexer::*, reparsing::incremental_reparse}; pub(crate) fn parse_text(text: &str) -> (GreenNode, Vec) { let (tokens, lexer_errors) = tokenize(&text); -- cgit v1.2.3