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.
This commit is contained in:
commit
39c52225dd
1 changed files with 1 additions and 1 deletions
|
@ -502,7 +502,7 @@ pub trait Read {
|
||||||
/// how many bytes were read.
|
/// how many bytes were read.
|
||||||
///
|
///
|
||||||
/// This function does not provide any guarantees about whether it blocks
|
/// 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.
|
/// it will typically signal this via an [`Err`] return value.
|
||||||
///
|
///
|
||||||
/// If the return value of this method is [`Ok(n)`], then it must be
|
/// If the return value of this method is [`Ok(n)`], then it must be
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue