Skip to content

Commit 4675a87

Browse files
klutzyalexcrichton
authored andcommitted
pprust: Print &&e instead of & &e
1 parent cc31bb0 commit 4675a87

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/libsyntax/print/pprust.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1279,11 +1279,6 @@ impl<'a> State<'a> {
12791279
}
12801280

12811281
try!(self.print_mutability(m));
1282-
// Avoid `& &e` => `&&e`.
1283-
match (m, &expr.node) {
1284-
(ast::MutImmutable, &ast::ExprAddrOf(..)) => try!(space(&mut self.s)),
1285-
_ => { }
1286-
}
12871282

12881283
try!(self.print_expr_maybe_paren(expr));
12891284
}

0 commit comments

Comments
 (0)