Skip to content

Commit a5059d7

Browse files
authored
Fix fmt in tokio write generics decoder.rs
Signed-off-by: Jiahao XU <[email protected]>
1 parent 6eeed32 commit a5059d7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/tokio/write/generic/decoder.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,7 @@ impl<W: AsyncWrite, D: Decode> Decoder<W, D> {
8888
}
8989

9090
State::Done => {
91-
return Poll::Ready(Err(io::Error::other(
92-
"Write after end of stream",
93-
)))
91+
return Poll::Ready(Err(io::Error::other("Write after end of stream")))
9492
}
9593
};
9694

0 commit comments

Comments
 (0)