Merge pull request #1081 from fritzrehde/master

Fixed some typos
This commit is contained in:
David Tolnay 2023-10-30 11:22:05 -04:00 committed by GitHub
commit a8e6f75a9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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<u16>;

View File

@ -198,7 +198,7 @@ impl<T: Clone + Into<Value>> From<&[T]> for Value {
}
impl<T: Into<Value>> FromIterator<T> for Value {
/// Convert an iteratable type to a `Value`
/// Convert an iterable type to a `Value`
///
/// # Examples
///
@ -228,7 +228,7 @@ impl<T: Into<Value>> FromIterator<T> for Value {
}
impl<K: Into<String>, V: Into<Value>> FromIterator<(K, V)> for Value {
/// Convert an iteratable type to a `Value`
/// Convert an iterable type to a `Value`
///
/// # Examples
///