add missing PartialOrd impl doc for array

This commit is contained in:
Konrad Höffner 2024-03-06 10:28:56 +01:00 committed by GitHub
parent 80399064af
commit 533add895c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -360,6 +360,7 @@ where
}
}
/// Implements comparison of arrays [lexicographically](Ord#lexicographical-comparison).
#[stable(feature = "rust1", since = "1.0.0")]
impl<T: PartialOrd, const N: usize> PartialOrd for [T; N] {
#[inline]