Skip to content

Commit 1c79838

Browse files
committed
$cargo fmt
1 parent 9cede7f commit 1c79838

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/collections/hash_map/extend.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ where
2424
// the map will only resize twice in the worst case.
2525

2626
let additional = if self.is_empty() {
27-
stream.size_hint().0
27+
stream.size_hint().0
2828
} else {
29-
(stream.size_hint().0 + 1) / 2
29+
(stream.size_hint().0 + 1) / 2
3030
};
3131
self.reserve(additional);
3232

src/collections/hash_set/extend.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ where
2727
// the map will only resize twice in the worst case.
2828

2929
let additional = if self.is_empty() {
30-
stream.size_hint().0
30+
stream.size_hint().0
3131
} else {
32-
(stream.size_hint().0 + 1) / 2
32+
(stream.size_hint().0 + 1) / 2
3333
};
3434
self.reserve(additional);
3535

0 commit comments

Comments
 (0)