Function take

Source
pub fn take<T>(slice: &[T], n: usize) -> &[T]