Make all warnings across crates and binaries consistent

This commit is contained in:
Benjamin Fry
2021-03-05 17:04:46 -08:00
parent a44d44151f
commit 6fcc72acca
107 changed files with 383 additions and 223 deletions

View File

@@ -33,7 +33,7 @@ impl UdpSocket for AsyncStdUdpSocket {
fn poll_recv_from(
&self,
cx: &mut Context,
cx: &mut Context<'_>,
buf: &mut [u8],
) -> Poll<io::Result<(usize, SocketAddr)>> {
let fut = self.0.recv_from(buf);
@@ -48,7 +48,7 @@ impl UdpSocket for AsyncStdUdpSocket {
fn poll_send_to(
&self,
cx: &mut Context,
cx: &mut Context<'_>,
buf: &[u8],
target: SocketAddr,
) -> Poll<io::Result<usize>> {