pprust: Print &&e
instead of & &e
This commit is contained in:
parent
cc31bb0a9e
commit
4675a87c8b
@ -1279,11 +1279,6 @@ impl<'a> State<'a> {
|
||||
}
|
||||
|
||||
try!(self.print_mutability(m));
|
||||
// Avoid `& &e` => `&&e`.
|
||||
match (m, &expr.node) {
|
||||
(ast::MutImmutable, &ast::ExprAddrOf(..)) => try!(space(&mut self.s)),
|
||||
_ => { }
|
||||
}
|
||||
|
||||
try!(self.print_expr_maybe_paren(expr));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user