aboutsummaryrefslogtreecommitdiff
path: root/src/writer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/writer.rs')
-rw-r--r--src/writer.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/writer.rs b/src/writer.rs
index 6ab442f..a329d8d 100644
--- a/src/writer.rs
+++ b/src/writer.rs
@@ -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 |
/// | ---- | ---- | ---- | ---- |
@@ -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.