about summary refs log tree commit diff
path: root/src/libsyntax/print
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2012-10-05 16:10:08 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2012-10-05 16:10:08 -0700
commitf8bc0d25455d7bfb299cd0e7693ee575f5dbce21 (patch)
tree80c1bde3c3f3b0cf47993dfe769418cc2ac55323 /src/libsyntax/print
parentca49fd402af8e7bf613c43e996274b5a017958d2 (diff)
downloadrust-f8bc0d25455d7bfb299cd0e7693ee575f5dbce21.tar.gz
rust-f8bc0d25455d7bfb299cd0e7693ee575f5dbce21.zip
Revert "wip"
This reverts commit ca49fd402af8e7bf613c43e996274b5a017958d2.
Diffstat (limited to 'src/libsyntax/print')
-rw-r--r--src/libsyntax/print/pprust.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs
index bff356e5cb7..d08b20eed84 100644
--- a/src/libsyntax/print/pprust.rs
+++ b/src/libsyntax/print/pprust.rs
@@ -1688,6 +1688,7 @@ fn print_fn_block_args(s: ps, decl: ast::fn_decl,
 
 fn mode_to_str(m: ast::mode) -> ~str {
     match m {
+      ast::expl(ast::by_mutbl_ref) => ~"&",
       ast::expl(ast::by_move) => ~"-",
       ast::expl(ast::by_ref) => ~"&&",
       ast::expl(ast::by_val) => ~"++",