aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-10-14 15:27:14 -0700
committerGraydon Hoare <[email protected]>2010-10-14 15:27:50 -0700
commit09b12d167fcdf6f122726bde977d3ce01d81e607 (patch)
tree3cbc0b4afe73753d8d2c6525440d8c4e5fbe6a68
parentrustc: Start work on lvals (diff)
downloadrust-09b12d167fcdf6f122726bde977d3ce01d81e607.tar.xz
rust-09b12d167fcdf6f122726bde977d3ce01d81e607.zip
Fix typos in Type.friendly_stringify.
-rw-r--r--src/boot/me/type.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/boot/me/type.ml b/src/boot/me/type.ml
index 648618e7..434bab7e 100644
--- a/src/boot/me/type.ml
+++ b/src/boot/me/type.ml
@@ -46,11 +46,11 @@ let rec friendly_stringify cx fallback ty =
String.concat " = " names
else
match ty with
- Ast.TY_vec ty' -> "vec[" ^ (friendly_stringify cx fallback ty') ^ ")"
+ Ast.TY_vec ty' -> "vec[" ^ (friendly_stringify cx fallback ty') ^ "]"
| Ast.TY_chan ty' ->
- "chan[" ^ (friendly_stringify cx fallback ty') ^ ")"
+ "chan[" ^ (friendly_stringify cx fallback ty') ^ "]"
| Ast.TY_port ty' ->
- "port[" ^ (friendly_stringify cx fallback ty') ^ ")"
+ "port[" ^ (friendly_stringify cx fallback ty') ^ "]"
| Ast.TY_box ty' -> "@" ^ (friendly_stringify cx fallback ty')
| Ast.TY_mutable ty' ->
"(mutable " ^ (friendly_stringify cx fallback ty') ^ ")"