pub fn iter(&self) -> Iter<'_, T> {
        Iter { tail: self.tail, head: self.head, ring: unsafe { self.buffer_as_slice() } }
    }
Returns a pair of slices which contain, in order, the contents of the
`VecDeque`.

If [`make_contiguous`] was previously called, all elements of the
`VecDeque` will be in the first slice and the second slice will be empty.

[`make_contiguous`]: VecDeque::make_contiguous

# Examples

```
use std::collections::VecDeque;

let mut vector = VecDeque::new();

vector.push_back(0);
vector.push_back(1);

vector.push_front(10);
vector.push_front(9);

vector.as_mut_slices().0[0] = 42;
vector.as_mut_slices(
benchmarks/haystacks/code/rust-library.rs