We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cede7f commit 1c79838Copy full SHA for 1c79838
src/collections/hash_map/extend.rs
@@ -24,9 +24,9 @@ where
24
// the map will only resize twice in the worst case.
25
26
let additional = if self.is_empty() {
27
- stream.size_hint().0
+ stream.size_hint().0
28
} else {
29
- (stream.size_hint().0 + 1) / 2
+ (stream.size_hint().0 + 1) / 2
30
};
31
self.reserve(additional);
32
src/collections/hash_set/extend.rs
@@ -27,9 +27,9 @@ where
33
34
35
0 commit comments