Skip to content

Commit 14f19bd

Browse files
committed
Don't pretty print unsafe pointers as carets, since #2826 is abandoned.
1 parent a6ee46d commit 14f19bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/libsyntax/print/pprust.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ fn print_type_ex(s: ps, &&ty: @ast::ty, print_colons: bool) {
341341
print_type(s, mt.ty);
342342
word(s.s, "]");
343343
}
344-
ast::ty_ptr(mt) { word(s.s, "^"); print_mt(s, mt); }
344+
ast::ty_ptr(mt) { word(s.s, "*"); print_mt(s, mt); }
345345
ast::ty_rptr(region, mt) {
346346
alt region.node {
347347
ast::re_anon { word(s.s, "&"); }

0 commit comments

Comments
 (0)