Skip to content

Commit 6569497

Browse files
authored
Fix tokio write generics decoder.rs
Signed-off-by: Jiahao XU <[email protected]>
1 parent 71ead80 commit 6569497

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tokio/write/generic/decoder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ impl<W: AsyncWrite, D: Decode> AsyncWrite for Decoder<W, D> {
176176
ready!(self.as_mut().project().writer.as_mut().poll_shutdown(cx))?;
177177
Poll::Ready(Ok(()))
178178
} else {
179-
Poll::Ready(Err(io::Error::other
179+
Poll::Ready(Err(io::Error::other(
180180
"Attempt to shutdown before finishing input",
181181
)))
182182
}

0 commit comments

Comments
 (0)