Remove stray dbg

This commit is contained in:
Aleksey Kladov 2020-03-03 16:41:52 +01:00
parent b55d22e060
commit 8f3677a94a

View file

@ -219,10 +219,10 @@ fn highlight_element(
CHAR => HighlightTag::CharLiteral.into(), CHAR => HighlightTag::CharLiteral.into(),
LIFETIME => { LIFETIME => {
let h = Highlight::new(HighlightTag::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, Some(LIFETIME_PARAM) | Some(LABEL) => h | HighlightModifier::Definition,
_ => h, _ => h,
}) }
} }
k if k.is_keyword() => { k if k.is_keyword() => {