Skip to content
This repository was archived by the owner on Dec 1, 2023. It is now read-only.

Commit 5f80b10

Browse files
authored
Fix typo in Decodable::read_map's doc.
1 parent 740f705 commit 5f80b10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/serialize.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ pub trait Decoder {
753753
/// Read an associative container (map).
754754
///
755755
/// * `f` is a function that will be passed the number of entries in the
756-
/// map, and will call `emit_map_elt_key` and `emit_map_elt_val` to decode
756+
/// map, and will call `read_map_elt_key` and `read_map_elt_val` to decode
757757
/// each entry.
758758
fn read_map<T, F>(&mut self, f: F) -> Result<T, Self::Error>
759759
where F: FnOnce(&mut Self, usize) -> Result<T, Self::Error>;

0 commit comments

Comments
 (0)