diff --git a/src/bytearray.rs b/src/bytearray.rs index 0d97d23..91202d8 100644 --- a/src/bytearray.rs +++ b/src/bytearray.rs @@ -35,7 +35,7 @@ use serde::ser::{Serialize, Serializer}; /// # } /// ``` #[derive(Copy, Clone, Eq, Ord)] -#[cfg_attr(not(doc), repr(transparent))] +#[repr(transparent)] pub struct ByteArray { bytes: [u8; N], }