mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 09:07:57 +00:00
Delete tombstones of the __private module
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 dd1f4b483e so it's unlikely anyone
is still benefiting from the tombstone at this point.
This commit is contained in:
+2
-2
@@ -1231,9 +1231,9 @@ pub trait Deserializer<'de>: Sized {
|
||||
self,
|
||||
_: crate::actually_private::T,
|
||||
visitor: V,
|
||||
) -> Result<crate::private::de::Content<'de>, Self::Error>
|
||||
) -> Result<crate::__private::de::Content<'de>, Self::Error>
|
||||
where
|
||||
V: Visitor<'de, Value = crate::private::de::Content<'de>>,
|
||||
V: Visitor<'de, Value = crate::__private::de::Content<'de>>,
|
||||
{
|
||||
self.deserialize_any(visitor)
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user