This crate aims to provide various tools for slices.
There are very few extensions for now, but the crate is totally usable!
Cargo.toml:
[dependencies]
slicetools = "0.1.*"
main.rs:
```rust extern crate slicetools;
use slicetools::SliceTools;
fn main() { let mut v = vec![1, 2, 3];
for (x, y) in v.pairs_mut() {
*x += *y;
}
println!("{:?}", v); // [6, 5, 3]
} ```