blob: 2cb4b6c41cef787d1f4e921ec2708d82eae7d690 [file] [log] [blame]
Chih-Hung Hsieh481287d2020-04-16 10:44:21 -07001name: "peeking_take_while"
Chih-Hung Hsieh935946a2020-10-12 00:51:01 -07002description: "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`."
Chih-Hung Hsieh481287d2020-04-16 10:44:21 -07003third_party {
4 url {
5 type: HOMEPAGE
6 value: "https://crates.io/crates/peeking_take_while"
7 }
8 url {
Chih-Hung Hsieh5e24ce82020-08-25 20:49:22 -07009 type: ARCHIVE
Joel Galenson2ad6afb2021-09-30 10:30:09 -070010 value: "https://static.crates.io/crates/peeking_take_while/peeking_take_while-1.0.0.crate"
Chih-Hung Hsieh481287d2020-04-16 10:44:21 -070011 }
Joel Galenson2ad6afb2021-09-30 10:30:09 -070012 version: "1.0.0"
Chih-Hung Hsieh481287d2020-04-16 10:44:21 -070013 license_type: NOTICE
14 last_upgrade_date {
Joel Galenson2ad6afb2021-09-30 10:30:09 -070015 year: 2021
16 month: 9
17 day: 30
Chih-Hung Hsieh481287d2020-04-16 10:44:21 -070018 }
19}