From 5087c1ad2bdcf478d62cbe90fc20dd9ff0ffd207 Mon Sep 17 00:00:00 2001 From: Donough Liu Date: Wed, 6 May 2020 17:02:53 +0800 Subject: [PATCH] Add comment for `Ord` implementation for array --- src/libcore/array/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libcore/array/mod.rs b/src/libcore/array/mod.rs index 937451274cfc2..549228ffffaa4 100644 --- a/src/libcore/array/mod.rs +++ b/src/libcore/array/mod.rs @@ -375,6 +375,7 @@ where } } +/// Implements comparison of arrays lexicographically. #[stable(feature = "rust1", since = "1.0.0")] impl Ord for [T; N] where