Merge pull request #489 from oli-obk/docs

fix an example in the README
This commit is contained in:
David Tolnay authored and GitHub committed 2016-08-11 08:41:59 -07:00
commit 1f31bb2db9
1 file changed
+1 -1
+1 -1
View File
@@ -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())
}
}