diff --git a/src/traits.rs b/src/traits.rs index 1ea0210..b53b118 100644 --- a/src/traits.rs +++ b/src/traits.rs @@ -36,8 +36,10 @@ pub unsafe trait ArraySize: Unsigned { + IntoIterator; } -/// Associates an [`ArraySize`] with a given type. Can be used to write APIs which use `[T; N]` -/// and convert to [`Array`] internally. +/// Associates an [`ArraySize`] with a given type. Can be used to accept `[T; N]` const generic +/// arguments and convert to [`Array`] internally. +/// +/// This trait is also the magic glue that makes the [`ArrayN`][`crate::ArrayN`] type alias work. /// /// # Example ///