parser: elide the lifetime as suggested by clippy

This commit is contained in:
David Aguilar 2024-12-09 22:20:17 -08:00 committed by arcayr
parent 478ae92e41
commit 2fd31f4ba2
No known key found for this signature in database

View file

@ -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.