Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b02798f

Browse files
authoredMar 21, 2020
Rollup merge of #70232 - adrian5:patch-1, r=Dylan-DPC
Tweak wording for std::io::Read::read function I think the sentence as a whole reads smoother that way.
2 parents 21d2637 + 0b307f7 commit b02798f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/libstd/io/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ pub trait Read {
502502
/// how many bytes were read.
503503
///
504504
/// This function does not provide any guarantees about whether it blocks
505-
/// waiting for data, but if an object needs to block for a read but cannot
505+
/// waiting for data, but if an object needs to block for a read and cannot,
506506
/// it will typically signal this via an [`Err`] return value.
507507
///
508508
/// If the return value of this method is [`Ok(n)`], then it must be

0 commit comments

Comments
 (0)
Please sign in to comment.