Remove unused __private_deserialize macro, originally for doctests

This commit is contained in:
David Tolnay 2021-01-23 22:26:16 -08:00
parent f6e7366b46
commit 9fd56cd41c
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -10,18 +10,6 @@ macro_rules! __private_serialize {
};
}
#[doc(hidden)]
#[macro_export]
macro_rules! __private_deserialize {
() => {
trait Deserialize<'de>: Sized {
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where
D: $crate::Deserializer<'de>;
}
};
}
/// Used only by Serde doc tests. Not public API.
#[doc(hidden)]
#[macro_export(local_inner_macros)]