more clippy fixes

This commit is contained in:
Milo 2021-10-16 12:32:55 +01:00
parent 3c468ab2fc
commit 35e5daacc3
19 changed files with 46 additions and 52 deletions

View file

@ -342,7 +342,7 @@ fn traverse(
element_to_highlight.clone(),
) {
if inside_attribute {
highlight = highlight | HlMod::Attribute;
highlight |= HlMod::Attribute
}
hl.add(HlRange { range, highlight, binding_hash });