mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-15 18:15:01 +00:00
Merge #3423
3423: Remove stray dbg r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
077f8ac02c
@ -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() => {
|
||||
|
Loading…
Reference in New Issue
Block a user