We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf32b9d commit 6b98dccCopy full SHA for 6b98dcc
library/std/src/collections/hash/set.rs
@@ -143,7 +143,7 @@ impl<T> HashSet<T, RandomState> {
143
#[must_use]
144
#[stable(feature = "rust1", since = "1.0.0")]
145
pub fn with_capacity(capacity: usize) -> HashSet<T, RandomState> {
146
- HashSet { base: base::HashSet::with_capacity_and_hasher(capacity, Default::default()) }
+ HashSet::with_capacity_and_hasher(capacity, Default::default())
147
}
148
149
0 commit comments