mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
Optimize imports
This commit is contained in:
parent
0c54921f93
commit
c15ebcd84c
1 changed files with 3 additions and 7 deletions
|
@ -17,21 +17,17 @@ use hir::{InFile, Name, Semantics};
|
|||
use ide_db::RootDatabase;
|
||||
use rustc_hash::FxHashMap;
|
||||
use syntax::{
|
||||
ast::{self},
|
||||
AstNode, AstToken, NodeOrToken,
|
||||
SyntaxKind::*,
|
||||
SyntaxNode, TextRange, WalkEvent, T,
|
||||
ast, AstNode, AstToken, NodeOrToken, SyntaxKind::*, SyntaxNode, TextRange, WalkEvent, T,
|
||||
};
|
||||
|
||||
use crate::{
|
||||
syntax_highlighting::{
|
||||
format::highlight_format_string, highlights::Highlights, macro_::MacroHighlighter,
|
||||
tags::Highlight,
|
||||
escape::highlight_escape_string, format::highlight_format_string, highlights::Highlights,
|
||||
macro_::MacroHighlighter, tags::Highlight,
|
||||
},
|
||||
FileId, HlMod, HlTag,
|
||||
};
|
||||
|
||||
use crate::syntax_highlighting::escape::highlight_escape_string;
|
||||
pub(crate) use html::highlight_as_html;
|
||||
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
|
|
Loading…
Reference in a new issue