Skip to content

Commit cc1f186

Browse files
authored
Merge pull request #49 from Lucretiel/patch-1
Remove conditional on `repr(transparent)`
2 parents 1cc250a + b55e384 commit cc1f186

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)