mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-26 06:17:55 +00:00
Simplify BTreeMapVisitor trait bounds
`Ord` implies `Eq`.
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user