mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-29 00:00:11 +02:00
docs: remove unneeded doc from AsyncReadExt::read_ext() (#2621)
This paragraph from `std::io::Read::read_ext()` applies to *implementors* of `Read`. Since `AsyncReadExt` can't and shouldn't be implemented outside of this crate, this documentation is unnecessary.
This commit is contained in:
@@ -238,12 +238,6 @@ cfg_io_util! {
|
|||||||
/// This function reads as many bytes as necessary to completely fill
|
/// This function reads as many bytes as necessary to completely fill
|
||||||
/// the specified buffer `buf`.
|
/// the specified buffer `buf`.
|
||||||
///
|
///
|
||||||
/// No guarantees are provided about the contents of `buf` when this
|
|
||||||
/// function is called, implementations cannot rely on any property of
|
|
||||||
/// the contents of `buf` being `true`. It is recommended that
|
|
||||||
/// implementations only write data to `buf` instead of reading its
|
|
||||||
/// contents.
|
|
||||||
///
|
|
||||||
/// # Errors
|
/// # Errors
|
||||||
///
|
///
|
||||||
/// If the operation encounters an "end of file" before completely
|
/// If the operation encounters an "end of file" before completely
|
||||||
|
|||||||
Reference in New Issue
Block a user