From a25f6c6f2af1ac268175e79ad8d537106dbb3a3a Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Fri, 22 Mar 2024 15:01:47 -0700 Subject: [PATCH] Remove conditional on repr(transparent) --- src/raw.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raw.rs b/src/raw.rs index a2bf0ecbb..22d14441e 100644 --- a/src/raw.rs +++ b/src/raw.rs @@ -112,8 +112,8 @@ use serde::ser::{Serialize, SerializeStruct, Serializer}; /// raw_value: Box, /// } /// ``` -#[cfg_attr(not(doc), repr(transparent))] #[cfg_attr(docsrs, doc(cfg(feature = "raw_value")))] +#[repr(transparent)] pub struct RawValue { json: str, }