From 6623d87f413a8120b5d84f20ea27b275e500e6c6 Mon Sep 17 00:00:00 2001 From: Jean SIMARD Date: Tue, 26 Jan 2021 17:10:31 +0100 Subject: [PATCH] doc: fix a few typos in Writer::serialize PR #220 --- src/writer.rs | 4 ++-- 1 file 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 Writer { /// ## 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 Writer { /// ``` /// /// 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.