Skip to content

Commit

Permalink
Remove conditional on repr(transparent)
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Mar 22, 2024
1 parent fedf834 commit a25f6c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/raw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ use serde::ser::{Serialize, SerializeStruct, Serializer};
/// raw_value: Box<RawValue>,
/// }
/// ```
#[cfg_attr(not(doc), repr(transparent))]
#[cfg_attr(docsrs, doc(cfg(feature = "raw_value")))]
#[repr(transparent)]
pub struct RawValue {
json: str,
}
Expand Down

0 comments on commit a25f6c6

Please sign in to comment.