about summary refs log tree commit diff
path: root/src/libsyntax/parse/token.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-02-09 15:02:51 -0800
committerbors <bors@rust-lang.org>2013-02-09 15:02:51 -0800
commitd6442e97a50561e8b42e145c2761d9e14233c4c1 (patch)
tree187ce1b6632bec9577819378aecaed51b178d3b9 /src/libsyntax/parse/token.rs
parent7fe6b1b6cfcdf52fd99f02b1d999c480e134e30f (diff)
parent4e6994dbfa3c32ef6a560c9ab2d940a5b032eef4 (diff)
downloadrust-d6442e97a50561e8b42e145c2761d9e14233c4c1.tar.gz
rust-d6442e97a50561e8b42e145c2761d9e14233c4c1.zip
auto merge of #4854 : thestinger/rust/oldmap, r=catamorphism
Diffstat (limited to 'src/libsyntax/parse/token.rs')
-rw-r--r--src/libsyntax/parse/token.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs
index 49de7264d2c..b8d756d893a 100644
--- a/src/libsyntax/parse/token.rs
+++ b/src/libsyntax/parse/token.rs
@@ -455,13 +455,13 @@ pub fn mk_fake_ident_interner() -> @ident_interner {
  */
 pub fn keyword_table() -> HashMap<~str, ()> {
     let keywords = HashMap();
-    for temporary_keyword_table().each_key_ref |&word| {
+    for temporary_keyword_table().each_key |&word| {
         keywords.insert(word, ());
     }
-    for strict_keyword_table().each_key_ref |&word| {
+    for strict_keyword_table().each_key |&word| {
         keywords.insert(word, ());
     }
-    for reserved_keyword_table().each_key_ref |&word| {
+    for reserved_keyword_table().each_key |&word| {
         keywords.insert(word, ());
     }
     keywords