diff options
| author | Donough Liu <ldm2993593805@163.com> | 2020-05-06 17:02:53 +0800 |
|---|---|---|
| committer | Donough Liu <ldm2993593805@163.com> | 2020-05-06 17:02:53 +0800 |
| commit | 5087c1ad2bdcf478d62cbe90fc20dd9ff0ffd207 (patch) | |
| tree | 596a9b386a61cb5c7c55a56725950a246374fe3f /src/libcore/array | |
| parent | ea733c3a59be77b752d6d3f722596bfd5b1fcf31 (diff) | |
| download | rust-5087c1ad2bdcf478d62cbe90fc20dd9ff0ffd207.tar.gz rust-5087c1ad2bdcf478d62cbe90fc20dd9ff0ffd207.zip | |
Add comment for `Ord` implementation for array
Diffstat (limited to 'src/libcore/array')
| -rw-r--r-- | src/libcore/array/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/array/mod.rs b/src/libcore/array/mod.rs index 937451274cf..549228ffffa 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<T: Ord, const N: usize> Ord for [T; N] where |
