[![Docs](https://docs.rs/wrapping/badge.svg)](https://docs.rs/wrapping) [![Build Status](https://drone.ureeves.com/api/badges/ureeves/wrapping/status.svg)](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"); ```