Skip to content

Commit 278488a

Browse files
committed
Fix clippy
1 parent 303c3de commit 278488a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ impl<K, V> HashMap<K, V, DefaultHashBuilder> {
233233
/// ```
234234
#[inline]
235235
pub fn with_capacity(capacity: usize) -> Self {
236-
Self::with_capacity_and_hasher(capacity, Default::default())
236+
Self::with_capacity_and_hasher(capacity, DefaultHashBuilder::default())
237237
}
238238
}
239239

0 commit comments

Comments
 (0)