From 5f80b10fa5886a2d2c1ac9e8f919dea9e7db277c Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Tue, 25 Oct 2016 21:35:34 +0200 Subject: [PATCH] Fix typo in Decodable::read_map's doc. --- src/serialize.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/serialize.rs b/src/serialize.rs index ca4a033..d22b23b 100644 --- a/src/serialize.rs +++ b/src/serialize.rs @@ -753,7 +753,7 @@ pub trait Decoder { /// Read an associative container (map). /// /// * `f` is a function that will be passed the number of entries in the - /// map, and will call `emit_map_elt_key` and `emit_map_elt_val` to decode + /// map, and will call `read_map_elt_key` and `read_map_elt_val` to decode /// each entry. fn read_map(&mut self, f: F) -> Result where F: FnOnce(&mut Self, usize) -> Result;