Remove unrelated change
This commit is contained in:
@@ -540,12 +540,10 @@ fn highlight_element(
|
|||||||
|
|
||||||
let expr = prefix_expr.expr()?;
|
let expr = prefix_expr.expr()?;
|
||||||
let ty = sema.type_of_expr(&expr)?;
|
let ty = sema.type_of_expr(&expr)?;
|
||||||
let mut h = HighlightTag::Operator.into();
|
|
||||||
if !ty.is_raw_ptr() {
|
if !ty.is_raw_ptr() {
|
||||||
h
|
return None;
|
||||||
} else {
|
} else {
|
||||||
h |= HighlightModifier::Unsafe;
|
HighlightTag::Operator | HighlightModifier::Unsafe
|
||||||
h
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
T![!] if element.parent().and_then(ast::MacroCall::cast).is_some() => {
|
T![!] if element.parent().and_then(ast::MacroCall::cast).is_some() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user