diff --git a/src/lazy/text/buffer.rs b/src/lazy/text/buffer.rs index 13799a56..25e0506b 100644 --- a/src/lazy/text/buffer.rs +++ b/src/lazy/text/buffer.rs @@ -2093,7 +2093,7 @@ where } pub fn incomplete_is_ok<'data, P>( - mut parser: P, + parser: P, ) -> impl Parser, TextBuffer<'data>, IonParseError<'data>> where P: Parser, TextBuffer<'data>, IonParseError<'data>>, diff --git a/src/lazy/text/parse_result.rs b/src/lazy/text/parse_result.rs index 7569b618..767ae04b 100644 --- a/src/lazy/text/parse_result.rs +++ b/src/lazy/text/parse_result.rs @@ -141,7 +141,7 @@ pub struct UnrecognizedInputError { winnow_error_kind: Option, } -impl<'data> UnrecognizedInputError { +impl UnrecognizedInputError { fn new() -> Self { Self { winnow_error_kind: None,