Skip to content

Commit

Permalink
Rollup merge of rust-lang#70232 - adrian5:patch-1, r=Dylan-DPC
Browse files Browse the repository at this point in the history
Tweak wording for std::io::Read::read function

I think the sentence as a whole reads smoother that way.
  • Loading branch information
Dylan-DPC committed Mar 21, 2020
2 parents 21d2637 + 0b307f7 commit b02798f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/io/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b02798f

Please sign in to comment.