Skip to content

Commit

Permalink
Merge pull request #1081 from fritzrehde/master
Browse files Browse the repository at this point in the history
Fixed some typos
  • Loading branch information
dtolnay authored Oct 30, 2023
2 parents f56053d + ebaf617 commit a8e6f75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/read.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down
4 changes: 2 additions & 2 deletions src/value/from.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
///
Expand Down Expand Up @@ -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
///
Expand Down

0 comments on commit a8e6f75

Please sign in to comment.