diff --git a/src/mapping.rs b/src/mapping.rs index 552733d0..667cd4b4 100644 --- a/src/mapping.rs +++ b/src/mapping.rs @@ -7,7 +7,6 @@ use std::cmp::Ordering; use std::collections::hash_map::DefaultHasher; use std::fmt::{self, Display}; use std::hash::{Hash, Hasher}; -use std::iter::FromIterator; use std::mem; /// A YAML mapping in which the keys and values are both `serde_yaml::Value`. diff --git a/src/value/from.rs b/src/value/from.rs index c02855d3..82412c4f 100644 --- a/src/value/from.rs +++ b/src/value/from.rs @@ -145,8 +145,6 @@ impl<'a, T: Clone + Into> From<&'a [T]> for Value { } } -use std::iter::FromIterator; - impl> FromIterator for Value { /// Convert an iteratable type to a YAML sequence ///