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);