mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +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 ide_db::RootDatabase;
|
||||||
use rustc_hash::FxHashMap;
|
use rustc_hash::FxHashMap;
|
||||||
use syntax::{
|
use syntax::{
|
||||||
ast::{self},
|
ast, AstNode, AstToken, NodeOrToken, SyntaxKind::*, SyntaxNode, TextRange, WalkEvent, T,
|
||||||
AstNode, AstToken, NodeOrToken,
|
|
||||||
SyntaxKind::*,
|
|
||||||
SyntaxNode, TextRange, WalkEvent, T,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
syntax_highlighting::{
|
syntax_highlighting::{
|
||||||
format::highlight_format_string, highlights::Highlights, macro_::MacroHighlighter,
|
escape::highlight_escape_string, format::highlight_format_string, highlights::Highlights,
|
||||||
tags::Highlight,
|
macro_::MacroHighlighter, tags::Highlight,
|
||||||
},
|
},
|
||||||
FileId, HlMod, HlTag,
|
FileId, HlMod, HlTag,
|
||||||
};
|
};
|
||||||
|
|
||||||
use crate::syntax_highlighting::escape::highlight_escape_string;
|
|
||||||
pub(crate) use html::highlight_as_html;
|
pub(crate) use html::highlight_as_html;
|
||||||
|
|
||||||
#[derive(Debug, Clone, Copy)]
|
#[derive(Debug, Clone, Copy)]
|
||||||
|
|
Loading…
Reference in a new issue