Skip to content

Commit 8e7b37b

Browse files
authored
Merge pull request #1118 from serde-rs/transparent
Remove conditional on repr(transparent)
2 parents fedf834 + a25f6c6 commit 8e7b37b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/raw.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ use serde::ser::{Serialize, SerializeStruct, Serializer};
112112
/// raw_value: Box<RawValue>,
113113
/// }
114114
/// ```
115-
#[cfg_attr(not(doc), repr(transparent))]
116115
#[cfg_attr(docsrs, doc(cfg(feature = "raw_value")))]
116+
#[repr(transparent)]
117117
pub struct RawValue {
118118
json: str,
119119
}

0 commit comments

Comments
 (0)