about summary refs log tree commit diff
path: root/src/libsyntax/print
diff options
context:
space:
mode:
authorMichael Sullivan <sully@msully.net>2012-07-10 13:39:56 -0700
committerMichael Sullivan <sully@msully.net>2012-07-10 13:39:56 -0700
commit14f19bdee4985503e1b8bf63950e77aabcb75541 (patch)
treea2b12d821911540cf86acf81e88a15c81fb21672 /src/libsyntax/print
parenta6ee46db0be868730bd9a9129f54210343ff408e (diff)
downloadrust-14f19bdee4985503e1b8bf63950e77aabcb75541.tar.gz
rust-14f19bdee4985503e1b8bf63950e77aabcb75541.zip
Don't pretty print unsafe pointers as carets, since #2826 is abandoned.
Diffstat (limited to 'src/libsyntax/print')
-rw-r--r--src/libsyntax/print/pprust.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs
index 735f7c3aa92..88a59c03675 100644
--- a/src/libsyntax/print/pprust.rs
+++ b/src/libsyntax/print/pprust.rs
@@ -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, "&"); }