Skip to content

Commit

Permalink
Tweak grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtriplett authored Oct 14, 2022
1 parent 4cf30c0 commit f95e853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/io/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ impl Error {
/// // errors can also be created from other errors
/// let custom_error2 = Error::new(ErrorKind::Interrupted, custom_error);
///
/// // creating an error without payload (also without memory allocation)
/// // creating an error without payload (and without memory allocation)
/// let eof_error = Error::from(ErrorKind::UnexpectedEof);
/// ```
#[stable(feature = "rust1", since = "1.0.0")]
Expand Down

0 comments on commit f95e853

Please sign in to comment.