From ebaf61709aba7a3f2429a5d95a694514f180f565 Mon Sep 17 00:00:00 2001 From: fritzrehde Date: Mon, 30 Oct 2023 15:20:19 +0100 Subject: [PATCH] fixed typos --- src/read.rs | 2 +- src/value/from.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/read.rs b/src/read.rs index fc3a3ca74..7446f28b9 100644 --- a/src/read.rs +++ b/src/read.rs @@ -81,7 +81,7 @@ pub trait Read<'de>: private::Sealed { #[doc(hidden)] fn ignore_str(&mut self) -> Result<()>; - /// Assumes the previous byte was a hex escape sequnce ('\u') in a string. + /// Assumes the previous byte was a hex escape sequence ('\u') in a string. /// Parses next hexadecimal sequence. #[doc(hidden)] fn decode_hex_escape(&mut self) -> Result; diff --git a/src/value/from.rs b/src/value/from.rs index 9f996e0c4..fa3fb3acc 100644 --- a/src/value/from.rs +++ b/src/value/from.rs @@ -198,7 +198,7 @@ impl> From<&[T]> for Value { } impl> FromIterator for Value { - /// Convert an iteratable type to a `Value` + /// Convert an iterable type to a `Value` /// /// # Examples /// @@ -228,7 +228,7 @@ impl> FromIterator for Value { } impl, V: Into> FromIterator<(K, V)> for Value { - /// Convert an iteratable type to a `Value` + /// Convert an iterable type to a `Value` /// /// # Examples ///