Skip to content

Commit 5ea5bdf

Browse files
authored
Fix fmt in decoder.rs
Signed-off-by: Jiahao XU <[email protected]>
1 parent b0517cc commit 5ea5bdf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/futures/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)