index-set 0.2.0

bitset implementation with support for atomic operations
Documentation
1
2
3
4
pub fn rotate_left<T>(slice: &[T], n: usize) -> impl Iterator<Item = &T> {
    let (left, right) = slice.split_at(n);
    right.iter().chain(left)
}