about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2022-10-14 12:17:07 +0100
committerGitHub <noreply@github.com>2022-10-14 12:17:07 +0100
commitf95e8532222479c417fdf9fffc6ce1ab8cda3413 (patch)
tree69e621b5c0f1a1974c5019eb4d43d0aca81bf696 /library/std/src
parent4cf30c0022a434718799b66cdf8911ad8030d0e1 (diff)
downloadrust-f95e8532222479c417fdf9fffc6ce1ab8cda3413.tar.gz
rust-f95e8532222479c417fdf9fffc6ce1ab8cda3413.zip
Tweak grammar
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/io/error.rs2
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")]