Skip to content

Commit

Permalink
add missing PartialOrd impl doc for array
Browse files Browse the repository at this point in the history
  • Loading branch information
KonradHoeffner committed Mar 6, 2024
1 parent 8039906 commit 533add8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/core/src/array/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 533add8

Please sign in to comment.