diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-02-27 16:21:09 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-27 16:21:09 +0000 |
commit | d311e4bc6b39bff838942410846b0be45d43f4ca (patch) | |
tree | d08350bd15b6b950c9254215e7e04c2de03fcd0e /crates/ra_ide | |
parent | fedab39011e1225b580f5afce8607c8eedad77e1 (diff) | |
parent | e74484e1338b7d90038fc996208bb15e4e162f0f (diff) |
Merge #3351
3351: Refactor string literals r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_ide')
-rw-r--r-- | crates/ra_ide/src/syntax_highlighting.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crates/ra_ide/src/syntax_highlighting.rs b/crates/ra_ide/src/syntax_highlighting.rs index 3a5cbee9b..d7bca1193 100644 --- a/crates/ra_ide/src/syntax_highlighting.rs +++ b/crates/ra_ide/src/syntax_highlighting.rs | |||
@@ -12,8 +12,10 @@ use ra_ide_db::{ | |||
12 | }; | 12 | }; |
13 | use ra_prof::profile; | 13 | use ra_prof::profile; |
14 | use ra_syntax::{ | 14 | use ra_syntax::{ |
15 | ast, AstNode, AstToken, Direction, NodeOrToken, SyntaxElement, SyntaxKind::*, SyntaxToken, | 15 | ast::{self, HasQuotes, HasStringValue}, |
16 | TextRange, WalkEvent, T, | 16 | AstNode, AstToken, Direction, NodeOrToken, SyntaxElement, |
17 | SyntaxKind::*, | ||
18 | SyntaxToken, TextRange, WalkEvent, T, | ||
17 | }; | 19 | }; |
18 | use rustc_hash::FxHashMap; | 20 | use rustc_hash::FxHashMap; |
19 | 21 | ||