diff --git a/README.md b/README.md index 3c136b84..ae0c1ae6 100644 --- a/README.md +++ b/README.md @@ -483,7 +483,7 @@ impl serde::Deserialize for BTreeMap fn deserialize(deserializer: &mut D) -> Result, D::Error> where D: serde::Deserializer, { - deserializer.deserialize(BTreeMapVisitor::new()) + deserializer.deserialize_map(BTreeMapVisitor::new()) } }