Skip to content

Commit 4a9b37c

Browse files
committed
run rustfmt
1 parent 563d56a commit 4a9b37c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/flatten_ok.rs

+2-5
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,8 @@ where
7373
}
7474

7575
fn size_hint(&self) -> (usize, Option<usize>) {
76-
let inner_hint = |inner: &Option<T::IntoIter>| {
77-
inner
78-
.as_ref()
79-
.map_or((0, Some(0)), Iterator::size_hint)
80-
};
76+
let inner_hint =
77+
|inner: &Option<T::IntoIter>| inner.as_ref().map_or((0, Some(0)), Iterator::size_hint);
8178
let inner_front = inner_hint(&self.inner_front);
8279
let inner_back = inner_hint(&self.inner_back);
8380
// The outer iterator `Ok` case could be (0, None) as we don't know its size_hint yet.

0 commit comments

Comments
 (0)