chore: fix clippy warnings (#4017)

This commit is contained in:
LinkTed
2021-08-03 10:50:40 +02:00
committed by GitHub
parent e66217575b
commit 8198ef3881
17 changed files with 35 additions and 35 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ where
..
} = *self;
let n = ready!(socket.borrow().poll_send_to(cx, &wr, *out_addr))?;
let n = ready!(socket.borrow().poll_send_to(cx, wr, *out_addr))?;
let wrote_all = n == self.wr.len();
self.wr.clear();