1 2 3 4 5 6 7 8 9 10
use crate::MiniVec; impl<T: Ord> core::cmp::Ord for MiniVec<T> { fn cmp(&self, other: &Self) -> core::cmp::Ordering { let x: &[T] = self; let y: &[T] = other; x.cmp(y) } }