diff options
| author | Josh Triplett <josh@joshtriplett.org> | 2022-10-14 12:17:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-14 12:17:07 +0100 |
| commit | f95e8532222479c417fdf9fffc6ce1ab8cda3413 (patch) | |
| tree | 69e621b5c0f1a1974c5019eb4d43d0aca81bf696 /library/std/src | |
| parent | 4cf30c0022a434718799b66cdf8911ad8030d0e1 (diff) | |
| download | rust-f95e8532222479c417fdf9fffc6ce1ab8cda3413.tar.gz rust-f95e8532222479c417fdf9fffc6ce1ab8cda3413.zip | |
Tweak grammar
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/io/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/io/error.rs b/library/std/src/io/error.rs index 2bbfbe38a24..837145bfaed 100644 --- a/library/std/src/io/error.rs +++ b/library/std/src/io/error.rs @@ -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")] |
