about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMatt Brubeck <mbrubeck@limpet.net>2010-07-09 04:47:04 +0800
committerGraydon Hoare <graydon@pobox.com>2010-07-09 05:28:10 +0800
commitd344f151f9c0b7e7d33b366e79990a00a9a3243b (patch)
treebba7f8a52a1982856e4c0ba2cb5b2e938ebee773 /src
parent3f354b24dca13db40a4d5028cafc0f3093b9c0a0 (diff)
downloadrust-d344f151f9c0b7e7d33b366e79990a00a9a3243b.tar.gz
rust-d344f151f9c0b7e7d33b366e79990a00a9a3243b.zip
Fix typo in token.ml.
Diffstat (limited to 'src')
-rw-r--r--src/boot/fe/token.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/fe/token.ml b/src/boot/fe/token.ml
index 446e5262a70..cb3bb0b0197 100644
--- a/src/boot/fe/token.ml
+++ b/src/boot/fe/token.ml
@@ -282,7 +282,7 @@ let rec string_of_tok t =
 
     (* Callable type constructors *)
     | FN         -> "fn"
-    | ITER       -> "fn"
+    | ITER       -> "iter"
 
     (* Object type *)
     | OBJ        -> "obj"