Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ibigbug committed Sep 23, 2024
1 parent 60ecb71 commit 7154821
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions clash_lib/src/proxy/shadowsocks/datagram.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,7 @@ impl DatagramSend for ShadowsocksUdpIo {
}
match w.poll_flush_unpin(cx) {
Poll::Ready(Ok(())) => Poll::Ready(Ok(buf.len())),
Poll::Ready(Err(e)) => {
Poll::Ready(Err(new_io_error(e.to_string())))
}
Poll::Ready(Err(e)) => Poll::Ready(Err(new_io_error(e.to_string()))),
Poll::Pending => Poll::Pending,
}
}
Expand Down

0 comments on commit 7154821

Please sign in to comment.