Closed Xenira closed 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 94.52%. Comparing base (
6814180
) to head (aa547c6
). Report is 98 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
You did not need to make a merge commit.
Wanted to rebase, but messed up. Like my pr's to be up to date :)
No prob, the commit history is not that clean anyway.
Hmm, maybe the other option would be .filter_map(p).next_back()
, inspired by https://github.com/rust-lang/rust/pull/49098 ?
The rev
is probably fine, though, so probably doesn't need to be changed.
Benchmarked against the filter_map
variant and its mostly in noise threshold. (2 cases 2% faster but I guess, thats because different base load on my system).
The rev()
is more readable though.
DoubleEndedIterator
implementation forFilterMapOk
analog to #948.Hope
rev()
is the right thing here, asrfind_map
does not exist (#949).Refs: #947