about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorChris Morgan <me@chrismorgan.info>2014-05-16 10:07:44 +1000
committerChris Morgan <me@chrismorgan.info>2014-05-16 10:07:44 +1000
commitff98afebf47da86cce6e7c033634c36c40bf63b6 (patch)
treebda06e0e435909b7979f3ca611ea6691441b0ae8 /src
parent5b13ddb5f2da143f46240c5933fba2a035e68102 (diff)
downloadrust-ff98afebf47da86cce6e7c033634c36c40bf63b6.tar.gz
rust-ff98afebf47da86cce6e7c033634c36c40bf63b6.zip
Work around parse error caused by #14240.
Diffstat (limited to 'src')
-rw-r--r--src/libcollections/hashmap.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcollections/hashmap.rs b/src/libcollections/hashmap.rs
index 87dc97d70c7..4b9c8ccadd2 100644
--- a/src/libcollections/hashmap.rs
+++ b/src/libcollections/hashmap.rs
@@ -1295,8 +1295,7 @@ impl<K: TotalEq + Hash<S>, V, S, H: Hasher<S>> HashMap<K, V, H> {
     ///         },
     ///         // if the key doesn't exist in the map yet, add it in
     ///         // the obvious way.
-    ///         |_k, v| vec![v],
-    ///     );
+    ///         |_k, v| vec![v]);
     /// }
     ///
     /// assert_eq!(map.len(), 3);