4 releases
Uses old Rust 2015
0.2.0 | Mar 3, 2024 |
---|---|
0.1.2 | Apr 20, 2018 |
0.1.1 | Apr 20, 2018 |
0.1.0 | Apr 20, 2018 |
#784 in Rust patterns
132 downloads per month
11KB
113 lines
prev-iter
prev-iter contains an iterator which allows you to view the previous element.
Usage
Add the following line to your Cargo.toml
under the [dependencies]
section:
prev-iter = "0.2.0"
Documentation
Documentation is available at docs.rs.
Running tests
cargo test
License
prev-iter is licensed under MPL-2.0 and so are all contributions. Please see the license for more information.
lib.rs
:
prev-iter
contains an iterator which allows you to view the previous element.