chore: fix spelling (#4769)

Signed-off-by: Richard Zak <[email protected]>
This commit is contained in:
Richard Zak
2022-06-15 16:06:50 +00:00
committed by GitHub
parent d487c1ca34
commit f26ce08f37
11 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ use std::io;
/// it's possible to temporarily read 0 bytes by reaching EOF.
///
/// In these cases `decode_eof` will be called until it signals
/// fullfillment of all closing frames by returning `Ok(None)`.
/// fulfillment of all closing frames by returning `Ok(None)`.
/// After that, repeated attempts to read from the [`Framed`] or [`FramedRead`]
/// will not invoke `decode` or `decode_eof` again, until data can be read
/// during a retry.
+1 -1
View File
@@ -93,7 +93,7 @@ where
}
/// Consumes this `StreamReader`, returning a Tuple consisting
/// of the underlying stream and an Option of the interal buffer,
/// of the underlying stream and an Option of the internal buffer,
/// which is Some in case the buffer contains elements.
pub fn into_inner_with_chunk(self) -> (S, Option<B>) {
if self.has_chunk() {