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;