Skip to content

Commit b02798f

Browse files
authored
Rollup merge of rust-lang#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)