diff --git a/crates/ra_ide/src/syntax_highlighting.rs b/crates/ra_ide/src/syntax_highlighting.rs index b89501aff6f..979a3f7a042 100644 --- a/crates/ra_ide/src/syntax_highlighting.rs +++ b/crates/ra_ide/src/syntax_highlighting.rs @@ -219,10 +219,10 @@ fn highlight_element( CHAR => HighlightTag::CharLiteral.into(), LIFETIME => { let h = Highlight::new(HighlightTag::Lifetime); - dbg!(match element.parent().map(|it| it.kind()) { + match element.parent().map(|it| it.kind()) { Some(LIFETIME_PARAM) | Some(LABEL) => h | HighlightModifier::Definition, _ => h, - }) + } } k if k.is_keyword() => {