discard-while

Crates.iodiscard-while
lib.rsdiscard-while
version0.1.6
sourcesrc
created_at2023-04-15 22:51:34.683353
updated_at2023-04-16 20:42:25.501479
descriptionGet the first non-matching element, and the amount of discarded elements.
homepage
repositoryhttps://github.com/schuelermine/discard-while
max_upload_size
id840250
size7,483
Anselm Schüler (schuelermine)

documentation

README

Iterator utility for getting the first non-matching element, discarding any others, and the amount of discarded elements.

To use, either use discard_while::discard_while to get the function, or use discard_while::DiscardWhile to get the convenience trait.

Documentation

This library is free software, you can use and re-use it under the terms of the MIT license. A copy of the license is provided in the source repository in the “LICENSE” file.

Commit count: 7

cargo fmt