Turns a reference into a one-element slice.
fn as_slice<T>(val: &T) -> &[T]
The object that will be the element of the slice.