diff options
| author | Vincent Belliard <vincent@famillebelliard.fr> | 2012-09-26 10:47:21 +0200 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2012-09-26 07:48:19 -0700 |
| commit | ef23d77633484e4e85f8b37431e3b08ede3e4802 (patch) | |
| tree | c7773070f518cc847d120b470bf6ff7fae3b4ac8 /src/rustc | |
| parent | 95bc32dc4f5041e1e354dd23fbb70431fe8f31ca (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.rs | 2 |
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)) + ":" } } }; |
