Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
use crate::Array;
use core::{
borrow::{Borrow, BorrowMut},
fmt::Debug,
ops::{Index, IndexMut, Range},
};
use typenum::Unsigned;
Expand All @@ -17,7 +18,7 @@ use typenum::Unsigned;
///
/// NOTE: This trait is effectively sealed and can not be implemented by third-party crates.
/// It is implemented only for a number of types defined in [`typenum::consts`].
pub unsafe trait ArraySize: Unsigned {
pub unsafe trait ArraySize: Unsigned + Debug {
/// Array type which corresponds to this size.
///
/// This is always defined to be `[T; N]` where `N` is the same as
Expand Down