diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-06-14 12:31:33 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-06-14 12:32:02 +0200 |
commit | d74a11b253f7ba86024b706823c618fe199711c9 (patch) | |
tree | dbf458fc8009645bd6ef9454a40004ef744a6afe | |
parent | ccc1f1c9e2f7539f9b27bc7161ad21e7d259c339 (diff) |
buffered-reader: Fix comment.
-rw-r--r-- | buffered-reader/src/lib.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/buffered-reader/src/lib.rs b/buffered-reader/src/lib.rs index a62e5f16..b7913e45 100644 --- a/buffered-reader/src/lib.rs +++ b/buffered-reader/src/lib.rs @@ -430,9 +430,7 @@ pub trait BufferedReader<C> : io::Read + fmt::Debug + fmt::Display { // mutable more than once at a time. // // Instead, we break out of the loop, and then - // call self.data(s) again. This extra call - // won't have any significant cost, because - // the buffer is already prepared. + // call self.buffer(). s = buffer.len(); break; } else { |