mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-16 10:35:22 +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(),
|
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() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user