From f68e9e901ec5b99925686c5fe2e6cdd3aa1a1507 Mon Sep 17 00:00:00 2001 From: Dirk Stolle Date: Sat, 15 May 2021 16:18:05 +0200 Subject: [PATCH] fix some typos --- serde/src/de/mod.rs | 2 +- serde_derive/src/internals/ast.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/serde/src/de/mod.rs b/serde/src/de/mod.rs index 1ed7b4f6..86fc3823 100644 --- a/serde/src/de/mod.rs +++ b/serde/src/de/mod.rs @@ -1007,7 +1007,7 @@ pub trait Deserializer<'de>: Sized { /// `Deserializer`. /// /// If the `Visitor` would benefit from taking ownership of `String` data, - /// indiciate this to the `Deserializer` by using `deserialize_string` + /// indicate this to the `Deserializer` by using `deserialize_string` /// instead. fn deserialize_str(self, visitor: V) -> Result where diff --git a/serde_derive/src/internals/ast.rs b/serde_derive/src/internals/ast.rs index 1afdaee5..2a6950b2 100644 --- a/serde_derive/src/internals/ast.rs +++ b/serde_derive/src/internals/ast.rs @@ -23,7 +23,7 @@ pub struct Container<'a> { /// The fields of a struct or enum. /// -/// Analagous to `syn::Data`. +/// Analogous to `syn::Data`. pub enum Data<'a> { Enum(Vec>), Struct(Style, Vec>),