From 1044ad9b1deefc0007967a31f98fc52c07802d0a Mon Sep 17 00:00:00 2001 From: Breval Ferrari Date: Wed, 21 May 2025 17:17:00 +0200 Subject: [PATCH] clippy --- src/parser.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/parser.rs b/src/parser.rs index d228d4c..4994d2e 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -13,8 +13,8 @@ use nom::{ complete::{char, space1, usize}, streaming::one_of, }, - combinator::{opt, value, verify}, - error::{Error, ErrorKind, ParseError}, + combinator::{opt, value}, + error::{Error, ParseError}, multi::many0, sequence::{delimited, preceded}, }; @@ -214,7 +214,7 @@ impl<'s> Slope<'s> { } /// Will return the longest valid fasteval expression -fn expression_parser<'a, I: Input + AsRef + Copy, C: Into + Ord + Display>( +fn expression_parser + Copy, C: Into + Ord + Display>( variables: &[C], ) -> impl Fn(I) -> IResult { |input: I| {