From b55e38491af3398288a98d796d5a00b960b9320f Mon Sep 17 00:00:00 2001 From: Nathan West Date: Fri, 22 Mar 2024 14:52:19 -0400 Subject: [PATCH] Remove conditional on `repr(transparent)` --- src/bytearray.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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], }