parser: elide the lifetime as suggested by clippy
This commit is contained in:
parent
478ae92e41
commit
2fd31f4ba2
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ impl<'a> StrInput<'a> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> Input for StrInput<'a> {
|
impl Input for StrInput<'_> {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn lookahead(&mut self, x: usize) {
|
fn lookahead(&mut self, x: usize) {
|
||||||
// We already have all characters that we need.
|
// We already have all characters that we need.
|
||||||
|
|
Loading…
Reference in a new issue