Language

Package: rust-peeking-take-while @ 0.1.2

Synopsis

Provides the peeking_take_while iterator adaptor method

Description

Like 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.

Home page
https://github.com/fitzgen/peeking_take_while
Location
gnu/packages/crates-io.scm (line: 20192, column: 2)
Licenses

Lint warnings

LinterMessageLocation
No lint warnings