$cargo fmt

This commit is contained in:
k-nasa 2019-10-08 10:50:30 +09:00
parent 9cede7f1e3
commit 1c798387bf
2 changed files with 4 additions and 4 deletions

View file

@ -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);

View file

@ -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);