[][src]Function odds::ref_slice

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

Create a length 1 slice out of a reference