aboutsummaryrefslogtreecommitdiff
path: root/src/boot/fe
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-07-12 15:14:27 -0700
committerGraydon Hoare <[email protected]>2010-07-12 15:14:27 -0700
commit5860a255488b5a15f13c044ec6ab39116ce53093 (patch)
tree207c42e251530d2c90e5cd872992dc7ee9e27119 /src/boot/fe
parentWrap long line. (diff)
parentFix typos in the docs. (diff)
downloadrust-5860a255488b5a15f13c044ec6ab39116ce53093.tar.xz
rust-5860a255488b5a15f13c044ec6ab39116ce53093.zip
Merge branch 'contrib'
Diffstat (limited to 'src/boot/fe')
-rw-r--r--src/boot/fe/ast.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/boot/fe/ast.ml b/src/boot/fe/ast.ml
index 25048d07..0b74da3c 100644
--- a/src/boot/fe/ast.ml
+++ b/src/boot/fe/ast.ml
@@ -1123,17 +1123,17 @@ and fmt_stmt_body (ff:Format.formatter) (s:stmt) : unit =
fmt_slot ff slot.node;
fmt ff " ";
fmt_ident ff ident;
- fmt ff " = ";
+ fmt ff " in ";
fmt_lval ff f;
fmt_atoms ff az;
- fmt ff " ";
+ fmt ff ") ";
fmt_obr ff;
fmt_stmts ff sf.for_each_body.node;
fmt_cbb ff
end
| STMT_put (atom) ->
- fmt ff "put ";
+ fmt ff "put";
begin
match atom with
Some a -> (fmt ff " "; fmt_atom ff a)