Skip to content

Commit f95e853

Browse files
authored
Tweak grammar
1 parent 4cf30c0 commit f95e853

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/io/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ impl Error {
496496
/// // errors can also be created from other errors
497497
/// let custom_error2 = Error::new(ErrorKind::Interrupted, custom_error);
498498
///
499-
/// // creating an error without payload (also without memory allocation)
499+
/// // creating an error without payload (and without memory allocation)
500500
/// let eof_error = Error::from(ErrorKind::UnexpectedEof);
501501
/// ```
502502
#[stable(feature = "rust1", since = "1.0.0")]

0 commit comments

Comments
 (0)