Remove unrelated change

This commit is contained in:
Paul Daniel Faria 2020-06-23 12:40:55 -04:00
parent 1e9095ae8c
commit a8a606cdc4

View file

@ -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() => {