Skip to content

Commit 063dd5b

Browse files
committed
Show derive macros in serde's rustdoc
1 parent a38aa31 commit 063dd5b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

serde/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,9 @@ mod std_error;
338338
#[allow(unused_imports)]
339339
#[macro_use]
340340
extern crate serde_derive;
341+
342+
/// Derive macro available if serde is built with `features = ["derive"]`.
341343
#[cfg(feature = "serde_derive")]
342-
#[doc(hidden)]
343344
pub use serde_derive::{Deserialize, Serialize};
344345

345346
#[cfg(all(not(no_serde_derive), any(feature = "std", feature = "alloc")))]

0 commit comments

Comments
 (0)