about summary refs log tree commit diff
diff options
context:
space:
mode:
authoradrian5 <adrian5@users.noreply.github.com>2020-03-21 17:06:10 +0100
committerGitHub <noreply@github.com>2020-03-21 17:06:10 +0100
commit0b307f7a9f00878325f8c2c2573ea49e7a9c4353 (patch)
tree5f7931fd59d90084d24bda7f2f3d33f65b9f8942
parent98803c182b2ba6ef5dccb6bf501958249295eac0 (diff)
downloadrust-0b307f7a9f00878325f8c2c2573ea49e7a9c4353.tar.gz
rust-0b307f7a9f00878325f8c2c2573ea49e7a9c4353.zip
Tweak wording for std::io::Read::read function
-rw-r--r--src/libstd/io/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs
index dc831432c17..83c492fecf9 100644
--- a/src/libstd/io/mod.rs
+++ b/src/libstd/io/mod.rs
@@ -502,7 +502,7 @@ pub trait Read {
     /// how many bytes were read.
     ///
     /// This function does not provide any guarantees about whether it blocks
-    /// waiting for data, but if an object needs to block for a read but cannot
+    /// waiting for data, but if an object needs to block for a read and cannot,
     /// it will typically signal this via an [`Err`] return value.
     ///
     /// If the return value of this method is [`Ok(n)`], then it must be