Skip to content

Commit

Permalink
Merge pull request #2400 from Nilstrieb/explicit-reexport
Browse files Browse the repository at this point in the history
Use explicit re-export of `serde_derive` to give rustc more info
  • Loading branch information
dtolnay committed Mar 14, 2023
2 parents 2ba4067 + f42b258 commit a38aa31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serde/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ mod std_error;
extern crate serde_derive;
#[cfg(feature = "serde_derive")]
#[doc(hidden)]
pub use serde_derive::*;
pub use serde_derive::{Deserialize, Serialize};

#[cfg(all(not(no_serde_derive), any(feature = "std", feature = "alloc")))]
mod actually_private {
Expand Down

0 comments on commit a38aa31

Please sign in to comment.