Function odds::ref_slice [] [src]

pub fn ref_slice<T>(ptr: &T) -> &[T]

Create a length 1 slice out of a reference