Remove collections feature flag and disable VecMap, which is unstable

This commit is contained in:
Erick Tryzelaar
2015-04-12 10:48:32 -07:00
parent 7622255d6f
commit 9a4ba047c4
3 changed files with 9 additions and 3 deletions
+4 -1
View File
@@ -1,4 +1,4 @@
use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet, VecMap};
use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet};
use std::hash::Hash;
use std::path;
use std::rc::Rc;
@@ -410,6 +410,8 @@ impl<K, V> Serialize for HashMap<K, V>
}
}
// FIXME: `VecMap` is unstable.
/*
impl<V> Serialize for VecMap<V>
where V: Serialize,
{
@@ -420,6 +422,7 @@ impl<V> Serialize for VecMap<V>
serializer.visit_map(MapIteratorVisitor::new(self.iter(), Some(self.len())))
}
}
*/
///////////////////////////////////////////////////////////////////////////////