about summary refs log tree commit diff
path: root/src/rustc
diff options
context:
space:
mode:
authorVincent Belliard <vincent@famillebelliard.fr>2012-09-26 10:47:21 +0200
committerNiko Matsakis <niko@alum.mit.edu>2012-09-26 07:48:19 -0700
commitef23d77633484e4e85f8b37431e3b08ede3e4802 (patch)
treec7773070f518cc847d120b470bf6ff7fae3b4ac8 /src/rustc
parent95bc32dc4f5041e1e354dd23fbb70431fe8f31ca (diff)
fix issue #3535 and add colon between mode and type when dumping funcion prototype
Diffstat (limited to 'src/rustc')
-rw-r--r--src/rustc/util/ppaux.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rustc/util/ppaux.rs b/src/rustc/util/ppaux.rs
index 9ade20c5568..0498a0f9541 100644
--- a/src/rustc/util/ppaux.rs
+++ b/src/rustc/util/ppaux.rs
@@ -261,7 +261,7 @@ fn ty_to_str(cx: ctxt, typ: t) -> ~str {
                 m == ty::default_arg_mode_for_ty(cx, ty) {
                 ~""
             } else {
-                mode_to_str(ast::expl(m))
+                mode_to_str(ast::expl(m)) + ":"
             }
           }
         };