Merge pull request #499 from serde-rs/ord

Simplify BTreeMapVisitor trait bounds
This commit is contained in:
David Tolnay
2016-08-18 15:44:03 -04:00
committed by GitHub
+1 -1
View File
@@ -791,7 +791,7 @@ macro_rules! map_impl {
#[cfg(any(feature = "std", feature = "collections"))]
map_impl!(
BTreeMap<K, V>,
BTreeMapVisitor<K: Deserialize + Eq + Ord,
BTreeMapVisitor<K: Deserialize + Ord,
V: Deserialize>,
visitor,
BTreeMap::new(),