wrapping 0.1.2

Wrapping slices and arrays
Documentation
[![Build Status](https://drone.ureeves.com/api/badges/ureeves/wrapping/status.svg)](https://drone.ureeves.com/ureeves/wrapping)

# wrapping

Wrapping slices and arrays.

The data structures defined here wrap around their length. This is done by
always taking the index modulo the length of the structure.

## Example
```rust
use wrapping::WrappingSlice;

let array: [&str; 1] = ["hello"];
let wrapping = WrappingSlice::from(&array[..]);

assert_eq!(wrapping[0], "hello");
assert_eq!(wrapping[1], "hello");
```