Skip to content

Commit

Permalink
Don't pretty print unsafe pointers as carets, since #2826 is abandoned.
Browse files Browse the repository at this point in the history
  • Loading branch information
msullivan committed Jul 10, 2012
1 parent a6ee46d commit 14f19bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsyntax/print/pprust.rs
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ fn print_type_ex(s: ps, &&ty: @ast::ty, print_colons: bool) {
print_type(s, mt.ty);
word(s.s, "]");
}
ast::ty_ptr(mt) { word(s.s, "^"); print_mt(s, mt); }
ast::ty_ptr(mt) { word(s.s, "*"); print_mt(s, mt); }
ast::ty_rptr(region, mt) {
alt region.node {
ast::re_anon { word(s.s, "&"); }
Expand Down

0 comments on commit 14f19bd

Please sign in to comment.