aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-07-01 19:27:20 -0700
committerGraydon Hoare <[email protected]>2010-07-01 19:27:20 -0700
commit6c9832d3ec05d2df0444a6f31c79a11eafa56b72 (patch)
tree553a38f964b068a9b49ad71298687a3704003001 /src
parentFox the clauses that actually satisfy box and mutable constraints; in all the... (diff)
downloadrust-6c9832d3ec05d2df0444a6f31c79a11eafa56b72.tar.xz
rust-6c9832d3ec05d2df0444a6f31c79a11eafa56b72.zip
Catch ast pretty-printer up with init-tup syntax.
Diffstat (limited to 'src')
-rw-r--r--src/boot/fe/ast.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/fe/ast.ml b/src/boot/fe/ast.ml
index e3360f31..6962a9e0 100644
--- a/src/boot/fe/ast.ml
+++ b/src/boot/fe/ast.ml
@@ -1045,7 +1045,7 @@ and fmt_stmt_body (ff:Format.formatter) (s:stmt) : unit =
| STMT_init_tup (dst, entries) ->
fmt_lval ff dst;
- fmt ff " = (";
+ fmt ff " = tup(";
for i = 0 to (Array.length entries) - 1
do
if i != 0