aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_ide/src/syntax_highlighting.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_ide/src/syntax_highlighting.rs b/crates/ra_ide/src/syntax_highlighting.rs
index b89501aff..979a3f7a0 100644
--- a/crates/ra_ide/src/syntax_highlighting.rs
+++ b/crates/ra_ide/src/syntax_highlighting.rs
@@ -219,10 +219,10 @@ fn highlight_element(
219 CHAR => HighlightTag::CharLiteral.into(), 219 CHAR => HighlightTag::CharLiteral.into(),
220 LIFETIME => { 220 LIFETIME => {
221 let h = Highlight::new(HighlightTag::Lifetime); 221 let h = Highlight::new(HighlightTag::Lifetime);
222 dbg!(match element.parent().map(|it| it.kind()) { 222 match element.parent().map(|it| it.kind()) {
223 Some(LIFETIME_PARAM) | Some(LABEL) => h | HighlightModifier::Definition, 223 Some(LIFETIME_PARAM) | Some(LABEL) => h | HighlightModifier::Definition,
224 _ => h, 224 _ => h,
225 }) 225 }
226 } 226 }
227 227
228 k if k.is_keyword() => { 228 k if k.is_keyword() => {