diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2018-07-17 10:03:38 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2018-07-17 10:03:38 +0200 |
commit | fd4f5ad75a0ceda29e6c1a642070f25f5ad39275 (patch) | |
tree | d16994e79892886c3b21cb8715fa5ffbc48fda7d /buffered-reader/src/lib.rs | |
parent | 880ea3082bafa823adbf481a97cefa44888a838d (diff) |
buffered-reader: Typo.
Diffstat (limited to 'buffered-reader/src/lib.rs')
-rw-r--r-- | buffered-reader/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buffered-reader/src/lib.rs b/buffered-reader/src/lib.rs index 7ff77578..cf50ff84 100644 --- a/buffered-reader/src/lib.rs +++ b/buffered-reader/src/lib.rs @@ -175,8 +175,8 @@ pub trait BufferedReader<C> : io::Read + fmt::Debug { /// Like steal_eof, but instead of returning the data, the data is /// discarded. /// - /// One success, returns whether any data (i.e., at least one - /// byte) was discarded. + /// On success, returns whether any data (i.e., at least one byte) + /// was discarded. fn drop_eof(&mut self) -> Result<bool, std::io::Error> { let mut at_least_one_byte = false; loop { |