Skip to content

Commit

Permalink
Tweak wording for std::io::Read::read function
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian5 authored Mar 21, 2020
1 parent 98803c1 commit 0b307f7
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 0b307f7

Please sign in to comment.