Fix axum-extra's optional feature documentation (#663)

This commit is contained in:
Sabrina Jewson
2021-12-27 18:12:46 +01:00
committed by GitHub
parent 9f5f29dfba
commit 7df611319e
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -28,6 +28,7 @@ use serde::Serialize;
/// }
/// }
/// ```
#[cfg_attr(docsrs, doc(cfg(feature = "erased-json")))]
#[derive(Debug)]
pub struct ErasedJson(serde_json::Result<Vec<u8>>);