about summary refs log tree commit diff
path: root/src/comp
diff options
context:
space:
mode:
authorMichael Sullivan <sully@msully.net>2011-05-31 16:16:36 -0700
committerGraydon Hoare <graydon@mozilla.com>2011-05-31 17:39:14 -0700
commitf4df2e4974388d5104d3eb57487ffcd01cc974b2 (patch)
tree10e9b081a56fc5b288d4a26845909162c2622d9c /src/comp
parent78b0d33c3552e47d9472f8ea4c1fb996a21597dc (diff)
downloadrust-f4df2e4974388d5104d3eb57487ffcd01cc974b2.tar.gz
rust-f4df2e4974388d5104d3eb57487ffcd01cc974b2.zip
Fix pretty printer for move.
Diffstat (limited to 'src/comp')
-rw-r--r--src/comp/pretty/pprust.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/pretty/pprust.rs b/src/comp/pretty/pprust.rs
index 0888880ae78..ca6e83fc848 100644
--- a/src/comp/pretty/pprust.rs
+++ b/src/comp/pretty/pprust.rs
@@ -693,7 +693,7 @@ fn print_expr(&ps s, &@ast::expr expr) {
         case (ast::expr_move(?lhs,?rhs,_)) {
             print_expr(s, lhs);
             space(s.s);
-            wrd1(s, "<-");
+            word_space(s, "<-");
             print_expr(s, rhs);
         }
         case (ast::expr_assign(?lhs,?rhs,_)) {