fix an example in the README (thanks @nox)
This commit is contained in:
parent
8c2359f9c3
commit
6b5bd24edd
@ -483,7 +483,7 @@ impl<K, V> serde::Deserialize for BTreeMap<K, V>
|
||||
fn deserialize<D>(deserializer: &mut D) -> Result<BTreeMap<K, V>, D::Error>
|
||||
where D: serde::Deserializer,
|
||||
{
|
||||
deserializer.deserialize(BTreeMapVisitor::new())
|
||||
deserializer.deserialize_map(BTreeMapVisitor::new())
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user