1[package]
2authors = ["Nick Fitzgerald <fitzgen@gmail.com>"]
3description = "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`."
4categories = ["rust-patterns"]
5keywords = ["iterator", "take_while", "peek", "by_ref"]
6license = "Apache-2.0/MIT"
7name = "peeking_take_while"
8readme = "./README.md"
9repository = "https://github.com/fitzgen/peeking_take_while"
10version = "0.1.2"
11
12[badges]
13[badges.travis-ci]
14repository = "fitzgen/peeking_take_while"
15