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"))]
|
||||
map_impl!(
|
||||
BTreeMap<K, V>,
|
||||
BTreeMapVisitor<K: Deserialize + Eq + Ord,
|
||||
BTreeMapVisitor<K: Deserialize + Ord,
|
||||
V: Deserialize>,
|
||||
visitor,
|
||||
BTreeMap::new(),
|
||||
|
Loading…
Reference in New Issue
Block a user