From e74484e1338b7d90038fc996208bb15e4e162f0f Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 27 Feb 2020 17:19:53 +0100 Subject: Refactor string literals --- crates/ra_ide/src/syntax_highlighting.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'crates/ra_ide') 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::{ }; use ra_prof::profile; use ra_syntax::{ - ast, AstNode, AstToken, Direction, NodeOrToken, SyntaxElement, SyntaxKind::*, SyntaxToken, - TextRange, WalkEvent, T, + ast::{self, HasQuotes, HasStringValue}, + AstNode, AstToken, Direction, NodeOrToken, SyntaxElement, + SyntaxKind::*, + SyntaxToken, TextRange, WalkEvent, T, }; use rustc_hash::FxHashMap; -- cgit v1.2.3