Skip to main content

vec_last

Function vec_last 

Source
pub fn vec_last<T>(v: &[T]) -> Option<&T>
Expand description

Return the last element of a slice, or None.