Remove the std_misc feature flag

This commit is contained in:
Erick Tryzelaar
2015-04-12 10:43:29 -07:00
parent 8ba1e7aceb
commit 7622255d6f
4 changed files with 20 additions and 10 deletions
+2 -5
View File
@@ -1,4 +1,3 @@
use std::collections::hash_state::HashState;
use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet, VecMap};
use std::hash::Hash;
use std::path;
@@ -151,9 +150,8 @@ impl<T> Serialize for BTreeSet<T>
}
}
impl<T, H> Serialize for HashSet<T, H>
impl<T> Serialize for HashSet<T>
where T: Serialize + Eq + Hash,
H: HashState,
{
#[inline]
fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error>
@@ -400,10 +398,9 @@ impl<K, V> Serialize for BTreeMap<K, V>
}
}
impl<K, V, H> Serialize for HashMap<K, V, H>
impl<K, V> Serialize for HashMap<K, V>
where K: Serialize + Eq + Hash,
V: Serialize,
H: HashState,
{
#[inline]
fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error>