mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-25 02:17:56 +00:00
review: Gate Result impls behind a feature gate
This commit is contained in:
@@ -660,6 +660,8 @@ where
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#[cfg(feature = "result")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "result")))]
|
||||
impl<T, E> Serialize for Result<T, E>
|
||||
where
|
||||
T: Serialize,
|
||||
|
||||
Reference in New Issue
Block a user