Skip to content

Commit

Permalink
doc: fix a few typos in Writer::serialize
Browse files Browse the repository at this point in the history
PR #220
  • Loading branch information
woshilapin authored Jan 26, 2021
1 parent 6e8c0a7 commit 6623d87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ impl<W: io::Write> Writer<W> {
/// ## Non-Struct Containers
///
/// Nested containers are flattened to their scalar components, with the
/// exeption of a few types that are not allowed:
/// exception of a few types that are not allowed:
///
/// | Name | Example Type | Example Value | Output |
/// | ---- | ---- | ---- | ---- |
Expand Down Expand Up @@ -831,7 +831,7 @@ impl<W: io::Write> Writer<W> {
/// ```
///
/// However, if `has_headers` were enabled in the above example, then
/// serialization would return an error. Speficially, when `has_headers` is
/// serialization would return an error. Specifically, when `has_headers` is
/// `true`, there are two restrictions:
///
/// 1. Named field values in structs must be scalars.
Expand Down

0 comments on commit 6623d87

Please sign in to comment.