From abf452130082544ce32e37d06ca6102c1deb3a32 Mon Sep 17 00:00:00 2001 From: Kamal Marhubi Date: Wed, 7 Sep 2016 18:12:09 -0400 Subject: [PATCH] docs: Fix copypasta in read_exact docs --- src/io/read_exact.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/io/read_exact.rs b/src/io/read_exact.rs index 417e13ce9..43cfa9516 100644 --- a/src/io/read_exact.rs +++ b/src/io/read_exact.rs @@ -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 {