mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-07 00:00:09 +02:00
docs: Fix copypasta in read_exact docs
This commit is contained in:
@@ -3,8 +3,8 @@ use std::mem;
|
||||
|
||||
use futures::{Poll, Future};
|
||||
|
||||
/// A future which can be used to easily read the entire contents of a stream
|
||||
/// into a vector.
|
||||
/// A future which can be used to easily read exactly enough bytes to fill
|
||||
/// a buffer.
|
||||
///
|
||||
/// Created by the `read_exact` function.
|
||||
pub struct ReadExact<A, T> {
|
||||
|
||||
Reference in New Issue
Block a user