about summary refs log tree commit diff
path: root/src/libstd/collections
diff options
context:
space:
mode:
authorWiktor Kuchta <wiktorkuchta@protonmail.com>2019-01-03 21:27:50 +0100
committerWiktor Kuchta <wiktorkuchta@protonmail.com>2019-01-03 21:33:37 +0100
commit190d139f3aa0613a8b639bae742561ff89c8fbc7 (patch)
tree764c4695c325898c6e85fc82a1af1f668e524caa /src/libstd/collections
parentc0bbc3927e28c22edefe6a1353b5ecc95ea9a104 (diff)
downloadrust-190d139f3aa0613a8b639bae742561ff89c8fbc7.tar.gz
rust-190d139f3aa0613a8b639bae742561ff89c8fbc7.zip
Fix repeated word typos
Found with `git grep -P '\b([a-z]+)\s+\1\b'`
Diffstat (limited to 'src/libstd/collections')
-rw-r--r--src/libstd/collections/hash/set.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/collections/hash/set.rs b/src/libstd/collections/hash/set.rs
index aebd0eb5de6..92145907b95 100644
--- a/src/libstd/collections/hash/set.rs
+++ b/src/libstd/collections/hash/set.rs
@@ -179,7 +179,7 @@ impl<T, S> HashSet<T, S>
         HashSet { map: HashMap::with_hasher(hasher) }
     }
 
-    /// Creates an empty `HashSet` with with the specified capacity, using
+    /// Creates an empty `HashSet` with the specified capacity, using
     /// `hasher` to hash the keys.
     ///
     /// The hash set will be able to hold at least `capacity` elements without