File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -741,7 +741,9 @@ pub trait Read {
741
741
/// No guarantees are provided about the contents of `buf` when this
742
742
/// function is called, implementations cannot rely on any property of the
743
743
/// contents of `buf` being true. It is recommended that implementations
744
- /// only write data to `buf` instead of reading its contents.
744
+ /// only write data to `buf` instead of reading its contents. The
745
+ /// documentation on [`read`] has a more detailed explanation on this
746
+ /// subject.
745
747
///
746
748
/// # Errors
747
749
///
@@ -764,6 +766,7 @@ pub trait Read {
764
766
///
765
767
/// [`File`]s implement `Read`:
766
768
///
769
+ /// [`read`]: trait.Read.html#tymethod.read
767
770
/// [`File`]: ../fs/struct.File.html
768
771
/// [`ErrorKind::Interrupted`]: ../../std/io/enum.ErrorKind.html#variant.Interrupted
769
772
/// [`ErrorKind::UnexpectedEof`]: ../../std/io/enum.ErrorKind.html#variant.UnexpectedEof
You can’t perform that action at this time.
0 commit comments