From 2fd31f4ba23f527586fab6570440a42b4a998b93 Mon Sep 17 00:00:00 2001 From: David Aguilar Date: Mon, 9 Dec 2024 22:20:17 -0800 Subject: [PATCH] parser: elide the lifetime as suggested by clippy --- parser/src/input/str.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser/src/input/str.rs b/parser/src/input/str.rs index 817b403..e2fc3ae 100644 --- a/parser/src/input/str.rs +++ b/parser/src/input/str.rs @@ -28,7 +28,7 @@ impl<'a> StrInput<'a> { } } -impl<'a> Input for StrInput<'a> { +impl Input for StrInput<'_> { #[inline] fn lookahead(&mut self, x: usize) { // We already have all characters that we need.