summaryrefslogtreecommitdiffstats
path: root/src/de.rs
diff options
context:
space:
mode:
authorRyan Leckey <leckey.ryan@gmail.com>2018-07-02 15:33:38 -0700
committerRyan Leckey <leckey.ryan@gmail.com>2018-07-02 15:33:38 -0700
commitcbb9ef88ea6f6452614dd8bbffce7203b1358a55 (patch)
treefd4f67587f9a36c517a3a3f1ff7ef727697d5fef /src/de.rs
parentbbc78d85610dec79aa4af4dd360131c7880efb5f (diff)
Run rustfmt (nightly)
Diffstat (limited to 'src/de.rs')
-rw-r--r--src/de.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/de.rs b/src/de.rs
index 89c21e0..89d0c0c 100644
--- a/src/de.rs
+++ b/src/de.rs
@@ -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)
}