Skip to content

Commit 5cbd70d

Browse files
committed
Replace another conditional repr(transparent)
1 parent cc1f186 commit 5cbd70d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bytes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ use serde::ser::{Serialize, Serializer};
3737
/// # }
3838
/// ```
3939
#[derive(Eq, Ord)]
40-
#[cfg_attr(not(doc), repr(transparent))]
40+
#[repr(transparent)]
4141
pub struct Bytes {
4242
bytes: [u8],
4343
}

0 commit comments

Comments
 (0)