[](https://docs.rs/wrapping)
[](https://drone.ureeves.com/ureeves/wrapping)
# wrapping
Wrapping around for slices.
Implements a wrapper around slices that allows for indexing beyond the
length of the slice, by taking the index always modulo the length.
## Example
```rust
use wrapping::Wrapping;
let array: [&str; 1] = ["hello"];
let wrapping = Wrapping::from(&array[..]);
assert_eq!(wrapping[0], "hello");
assert_eq!(wrapping[1], "hello");
```