diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-03-03 15:52:56 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-03 15:52:56 +0000 |
commit | 077f8ac02cc732e2e14592fd48891c2a1eabbc25 (patch) | |
tree | 6fdb3191df6d285a82591512cae018506082a9cc | |
parent | b55d22e06095821eaf588786663d3b2b946e8549 (diff) | |
parent | 8f3677a94a3ff77c9d2d1784b0c8d5f777e46c3b (diff) |
Merge #3423
3423: Remove stray dbg r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
-rw-r--r-- | crates/ra_ide/src/syntax_highlighting.rs | 4 |
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() => { |