$cargo fmt

write-by-ref
k-nasa 5 years ago
parent 9cede7f1e3
commit 1c798387bf

@ -24,9 +24,9 @@ where
// the map will only resize twice in the worst case.
let additional = if self.is_empty() {
stream.size_hint().0
stream.size_hint().0
} else {
(stream.size_hint().0 + 1) / 2
(stream.size_hint().0 + 1) / 2
};
self.reserve(additional);

@ -27,9 +27,9 @@ where
// the map will only resize twice in the worst case.
let additional = if self.is_empty() {
stream.size_hint().0
stream.size_hint().0
} else {
(stream.size_hint().0 + 1) / 2
(stream.size_hint().0 + 1) / 2
};
self.reserve(additional);

Loading…
Cancel
Save