Merge pull request #19 from kamalmarhubi/read-exact-doc

docs: Fix copypasta in read_exact docs
This commit is contained in:
Alex Crichton
2016-09-07 15:25:40 -07:00
committed by GitHub
+2 -2
View File
@@ -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> {