Joel Galenson | 2ad6afb | 2021-09-30 10:30:09 -0700 | [diff] [blame] | 1 | [package] |
| 2 | authors = ["Nick Fitzgerald <fitzgen@gmail.com>"] |
| 3 | 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`." |
| 4 | categories = ["no-std", "rust-patterns"] |
| 5 | edition = "2018" |
| 6 | keywords = ["iterator", "take_while", "peek", "by_ref"] |
| 7 | license = "MIT OR Apache-2.0" |
| 8 | name = "peeking_take_while" |
| 9 | readme = "./README.md" |
| 10 | repository = "https://github.com/fitzgen/peeking_take_while" |
| 11 | version = "1.0.0" |
| 12 | |
| 13 | [badges] |
| 14 | [badges.travis-ci] |
| 15 | repository = "fitzgen/peeking_take_while" |