Skip to content

Commit

Permalink
Merge pull request #1118 from serde-rs/transparent
Browse files Browse the repository at this point in the history
Remove conditional on repr(transparent)
  • Loading branch information
dtolnay authored Mar 22, 2024
2 parents fedf834 + a25f6c6 commit 8e7b37b
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 8e7b37b

Please sign in to comment.