Skip to content

Commit eaa287c

Browse files
committed
Hide repr attribute from documentation
1 parent 7bc6c86 commit eaa287c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/raw.rs

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

0 commit comments

Comments
 (0)