Format with rustfmt 0.8.2

This commit is contained in:
David Tolnay 2018-06-27 00:05:33 -07:00
parent 898f65fa46
commit b0e78c6be4
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -593,11 +593,7 @@ pub trait Deserialize<'de>: Sized {
///
/// [Understanding deserializer lifetimes]: https://serde.rs/lifetimes.html
pub trait DeserializeOwned: for<'de> Deserialize<'de> {}
impl<T> DeserializeOwned for T
where
T: for<'de> Deserialize<'de>,
{
}
impl<T> DeserializeOwned for T where T: for<'de> Deserialize<'de> {}
/// `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,