Skip to content

Commit f53b322

Browse files
authored
Fix grammar in docs for std::io::Read
1 parent 56f1325 commit f53b322

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/std/src/io/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ pub trait Read {
583583
/// `n > buf.len()`.
584584
///
585585
/// No guarantees are provided about the contents of `buf` when this
586-
/// function is called, implementations cannot rely on any property of the
586+
/// function is called, so implementations cannot rely on any property of the
587587
/// contents of `buf` being true. It is recommended that *implementations*
588588
/// only write data to `buf` instead of reading its contents.
589589
///
@@ -759,7 +759,7 @@ pub trait Read {
759759
/// specified buffer `buf`.
760760
///
761761
/// No guarantees are provided about the contents of `buf` when this
762-
/// function is called, implementations cannot rely on any property of the
762+
/// function is called, so implementations cannot rely on any property of the
763763
/// contents of `buf` being true. It is recommended that implementations
764764
/// only write data to `buf` instead of reading its contents. The
765765
/// documentation on [`read`] has a more detailed explanation on this

0 commit comments

Comments
 (0)