Update library/core/src/array/mod.rs
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
This commit is contained in:
parent
2aa28ad4f0
commit
655155caa0
@ -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)*} => {
|
||||
|
Loading…
Reference in New Issue
Block a user