Simplify BTreeMapVisitor trait bounds
`Ord` implies `Eq`.
This commit is contained in:
parent
e0c9bd4b87
commit
d98172f330
@ -791,7 +791,7 @@ macro_rules! map_impl {
|
|||||||
#[cfg(any(feature = "std", feature = "collections"))]
|
#[cfg(any(feature = "std", feature = "collections"))]
|
||||||
map_impl!(
|
map_impl!(
|
||||||
BTreeMap<K, V>,
|
BTreeMap<K, V>,
|
||||||
BTreeMapVisitor<K: Deserialize + Eq + Ord,
|
BTreeMapVisitor<K: Deserialize + Ord,
|
||||||
V: Deserialize>,
|
V: Deserialize>,
|
||||||
visitor,
|
visitor,
|
||||||
BTreeMap::new(),
|
BTreeMap::new(),
|
||||||
|
Loading…
Reference in New Issue
Block a user