Add lexicographical comparison doc

Add links

Fix typo

Use `sequence`

Fix typo

Fix broken link

Fix broken link

Fix broken link

Fix broken links

Fix broken links
This commit is contained in:
Rustin-Liu
2020-10-25 17:46:45 +08:00
parent b9a94c919b
commit 42844ed2cf
6 changed files with 26 additions and 16 deletions

View File

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