Skip to content

Commit

Permalink
Fix clippy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mankinskin committed Dec 11, 2020
1 parent ebd8ab3 commit 1a5e2ab
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/websocket_connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,7 @@ impl Sink<Message> for WebSocketConnection {
) -> task::Poll<Result<(), Self::Error>> {
Sink::poll_ready(Pin::new(&mut *self.0.lock()), cx)
}
fn start_send(
self: Pin<&mut Self>,
item: Message,
) -> Result<(), Self::Error> {
fn start_send(self: Pin<&mut Self>, item: Message) -> Result<(), Self::Error> {
Sink::start_send(Pin::new(&mut *self.0.lock()), item)
}
fn poll_flush(
Expand Down

0 comments on commit 1a5e2ab

Please sign in to comment.