We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cf30c0 commit f95e853Copy full SHA for f95e853
library/std/src/io/error.rs
@@ -496,7 +496,7 @@ impl Error {
496
/// // errors can also be created from other errors
497
/// let custom_error2 = Error::new(ErrorKind::Interrupted, custom_error);
498
///
499
- /// // creating an error without payload (also without memory allocation)
+ /// // creating an error without payload (and without memory allocation)
500
/// let eof_error = Error::from(ErrorKind::UnexpectedEof);
501
/// ```
502
#[stable(feature = "rust1", since = "1.0.0")]
0 commit comments