cargoGold certified
peeking_take_while
Version0.1.2Like Iterator::take_while, but calls the predicate on a peeked value. This allows you to use Iterator::by_ref and Iterator::take_while together, and still get the first value for which the take_while predicate returned false after dropping the by_ref.
Installation
cargo add peeking_take_while@0.1.2Vulnerabilities
0
No known vulnerabilities.
Scanned Release
Current Version
0.1.2