Replace if let Some(_) = foo with if foo.is_some()
This commit is contained in:
@@ -330,7 +330,7 @@ fn traverse(
|
||||
}
|
||||
}
|
||||
|
||||
if let Some(_) = macro_highlighter.highlight(element_to_highlight.clone()) {
|
||||
if macro_highlighter.highlight(element_to_highlight.clone()).is_some() {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user