aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-03-03 15:41:52 +0000
committerAleksey Kladov <[email protected]>2020-03-03 15:41:52 +0000
commit8f3677a94a3ff77c9d2d1784b0c8d5f777e46c3b (patch)
tree6fdb3191df6d285a82591512cae018506082a9cc /crates/ra_ide
parentb55d22e06095821eaf588786663d3b2b946e8549 (diff)
Remove stray dbg
Diffstat (limited to 'crates/ra_ide')
-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() => {