diff options
author | Ryan Leckey <leckey.ryan@gmail.com> | 2018-07-02 15:33:38 -0700 |
---|---|---|
committer | Ryan Leckey <leckey.ryan@gmail.com> | 2018-07-02 15:33:38 -0700 |
commit | cbb9ef88ea6f6452614dd8bbffce7203b1358a55 (patch) | |
tree | fd4f67587f9a36c517a3a3f1ff7ef727697d5fef /src/de.rs | |
parent | bbc78d85610dec79aa4af4dd360131c7880efb5f (diff) |
Run rustfmt (nightly)
Diffstat (limited to 'src/de.rs')
-rw-r--r-- | src/de.rs | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,11 +1,11 @@ -use serde::de; -use value::{Value, ValueKind, ValueWithKey}; -use error::*; use config::Config; +use error::*; +use serde::de; use std::borrow::Cow; -use std::iter::Peekable; -use std::collections::HashMap; use std::collections::hash_map::Drain; +use std::collections::HashMap; +use std::iter::Peekable; +use value::{Value, ValueKind, ValueWithKey}; // TODO: Use a macro or some other magic to reduce the code duplication here @@ -226,7 +226,7 @@ impl<'de> de::Deserializer<'de> for Value { fn deserialize_newtype_struct<V>(self, _name: &'static str, visitor: V) -> Result<V::Value> where - V: de::Visitor<'de> + V: de::Visitor<'de>, { visitor.visit_newtype_struct(self) } |