Skip to content

Commit

Permalink
fix some more clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
hellow554 committed Jul 7, 2022
1 parent 82d4a4c commit 071aa68
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/flatten_ok.rs
Expand Up @@ -76,8 +76,7 @@ where
let inner_hint = |inner: &Option<T::IntoIter>| {
inner
.as_ref()
.map(Iterator::size_hint)
.unwrap_or((0, Some(0)))
.map_or((0, Some(0)), Iterator::size_hint)
};
let inner_front = inner_hint(&self.inner_front);
let inner_back = inner_hint(&self.inner_back);
Expand Down

0 comments on commit 071aa68

Please sign in to comment.