pub fn slice_upper_bound<T: PartialOrd>(slice: &[T], key: &T) -> usizeExpand description
Assuming slice is sorted and totally ordered, returns the minimum i for which slice[i] > key, or slice.len() if no such i exists
pub fn slice_upper_bound<T: PartialOrd>(slice: &[T], key: &T) -> usizeAssuming slice is sorted and totally ordered, returns the minimum i for which slice[i] > key, or slice.len() if no such i exists