We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82d4a4c commit 071aa68Copy full SHA for 071aa68
src/flatten_ok.rs
@@ -76,8 +76,7 @@ where
76
let inner_hint = |inner: &Option<T::IntoIter>| {
77
inner
78
.as_ref()
79
- .map(Iterator::size_hint)
80
- .unwrap_or((0, Some(0)))
+ .map_or((0, Some(0)), Iterator::size_hint)
81
};
82
let inner_front = inner_hint(&self.inner_front);
83
let inner_back = inner_hint(&self.inner_back);
0 commit comments