From 8f3677a94a3ff77c9d2d1784b0c8d5f777e46c3b Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 3 Mar 2020 16:41:52 +0100 Subject: Remove stray dbg --- crates/ra_ide/src/syntax_highlighting.rs | 4 ++-- 1 file changed, 2 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 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( 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() => { -- cgit v1.2.3