mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-13 17:11:02 +00:00
Format with rustfmt 0.8.2
This commit is contained in:
+1
-5
@@ -593,11 +593,7 @@ pub trait Deserialize<'de>: Sized {
|
|||||||
///
|
///
|
||||||
/// [Understanding deserializer lifetimes]: https://serde.rs/lifetimes.html
|
/// [Understanding deserializer lifetimes]: https://serde.rs/lifetimes.html
|
||||||
pub trait DeserializeOwned: for<'de> Deserialize<'de> {}
|
pub trait DeserializeOwned: for<'de> Deserialize<'de> {}
|
||||||
impl<T> DeserializeOwned for T
|
impl<T> DeserializeOwned for T where T: for<'de> Deserialize<'de> {}
|
||||||
where
|
|
||||||
T: for<'de> Deserialize<'de>,
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
/// `DeserializeSeed` is the stateful form of the `Deserialize` trait. If you
|
/// `DeserializeSeed` is the stateful form of the `Deserialize` trait. If you
|
||||||
/// ever find yourself looking for a way to pass data into a `Deserialize` impl,
|
/// ever find yourself looking for a way to pass data into a `Deserialize` impl,
|
||||||
|
|||||||
Reference in New Issue
Block a user