Skip to content

Commit 6623d87

Browse files
authored
doc: fix a few typos in Writer::serialize
PR #220
1 parent 6e8c0a7 commit 6623d87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/writer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ impl<W: io::Write> Writer<W> {
777777
/// ## Non-Struct Containers
778778
///
779779
/// Nested containers are flattened to their scalar components, with the
780-
/// exeption of a few types that are not allowed:
780+
/// exception of a few types that are not allowed:
781781
///
782782
/// | Name | Example Type | Example Value | Output |
783783
/// | ---- | ---- | ---- | ---- |
@@ -831,7 +831,7 @@ impl<W: io::Write> Writer<W> {
831831
/// ```
832832
///
833833
/// However, if `has_headers` were enabled in the above example, then
834-
/// serialization would return an error. Speficially, when `has_headers` is
834+
/// serialization would return an error. Specifically, when `has_headers` is
835835
/// `true`, there are two restrictions:
836836
///
837837
/// 1. Named field values in structs must be scalars.

0 commit comments

Comments
 (0)