Skip to content

Commit ad538c6

Browse files
committed
Fix description of serializer public API convention
1 parent 05742f9 commit ad538c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ser.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pub struct Serializer {
1515
output: String,
1616
}
1717

18-
// By convention, the public API of a Serde deserializer is one or more `to_abc`
18+
// By convention, the public API of a Serde serializer is one or more `to_abc`
1919
// functions such as `to_string`, `to_bytes`, or `to_writer` depending on what
2020
// Rust types the serializer is able to produce as output.
2121
//

0 commit comments

Comments
 (0)