summaryrefslogtreecommitdiffstats
path: root/tokio-codec/tests/framed_read.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio-codec/tests/framed_read.rs')
-rw-r--r--tokio-codec/tests/framed_read.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio-codec/tests/framed_read.rs b/tokio-codec/tests/framed_read.rs
index 4215c04c..dc36d8b9 100644
--- a/tokio-codec/tests/framed_read.rs
+++ b/tokio-codec/tests/framed_read.rs
@@ -284,7 +284,7 @@ impl AsyncRead for Mock {
// TODO this newtype is necessary because `&[u8]` does not currently implement `AsyncRead`
struct Slice<'a>(&'a [u8]);
-impl<'a> AsyncRead for Slice<'a> {
+impl AsyncRead for Slice<'_> {
fn poll_read(
mut self: Pin<&mut Self>,
cx: &mut Context<'_>,