Skip to content

Commit

Permalink
Replace another conditional repr(transparent)
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Mar 22, 2024
1 parent cc1f186 commit 5cbd70d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bytes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ use serde::ser::{Serialize, Serializer};
/// # }
/// ```
#[derive(Eq, Ord)]
#[cfg_attr(not(doc), repr(transparent))]
#[repr(transparent)]
pub struct Bytes {
bytes: [u8],
}
Expand Down

0 comments on commit 5cbd70d

Please sign in to comment.