Update library/core/src/array/mod.rs

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
This commit is contained in:
Arnav Jindal 2021-03-08 20:28:30 +05:30 committed by GitHub
parent 2aa28ad4f0
commit 655155caa0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -382,7 +382,7 @@ impl<T: Ord, const N: usize> Ord for [T; N] {
// The Default impls cannot be done with const generics because `[T; 0]` doesn't
// require Default to be implemented, and having different impl blocks for
// different numbers aren't supported yet.
// different numbers isn't supported yet.
macro_rules! array_impl_default {
{$n:expr, $t:ident $($ts:ident)*} => {