From 922d5f66186b488d5b2f44f2bd20bb6c40e17e9c Mon Sep 17 00:00:00 2001 From: Zack Slayton Date: Thu, 16 Jan 2025 14:46:20 -0500 Subject: [PATCH] Clippy suggestions --- src/lazy/text/buffer.rs | 2 +- src/lazy/text/parse_result.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,