Skip to content

Commit

Permalink
Delete tombstones of the __private module
Browse files Browse the repository at this point in the history
These are previous names of the `__private` module -- first
`serde::export` then `serde::private` then `serde::__private` -- in all
cases marked `doc(hidden)` and documented as not public API. Leaving a
tombstone made rustc give a better diagnostic "module is private" rather
than "unresolved import". But the rename to `__private` was 2.5 years
ago in dd1f4b4 so it's unlikely anyone
is still benefiting from the tombstone at this point.
  • Loading branch information
dtolnay committed Jul 31, 2023
1 parent 339dca8 commit 662573d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions serde/src/lib.rs
Expand Up @@ -307,11 +307,6 @@ pub use crate::ser::{Serialize, Serializer};
#[path = "private/mod.rs"]
pub mod __private;

#[allow(unused_imports)]
use self::__private as export;
#[allow(unused_imports)]
use self::__private as private;

#[path = "de/seed.rs"]
mod seed;

Expand Down

0 comments on commit 662573d

Please sign in to comment.