slicetools 0.1.0

Add extra iterators to slices.
Documentation

This crate aims to provide various tools for slices.

There are very few extensions for now, but the crate is totally usable!

Example

Cargo.toml:

[dependencies]
slicetools = "0.1.*"

main.rs:

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]
}