Skip to content

Commit b55e384

Browse files
authored
Remove conditional on repr(transparent)
1 parent 1cc250a commit b55e384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bytearray.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ use serde::ser::{Serialize, Serializer};
3535
/// # }
3636
/// ```
3737
#[derive(Copy, Clone, Eq, Ord)]
38-
#[cfg_attr(not(doc), repr(transparent))]
38+
#[repr(transparent)]
3939
pub struct ByteArray<const N: usize> {
4040
bytes: [u8; N],
4141
}

0 commit comments

Comments
 (0)