clippy
This commit is contained in:
parent
d9eab53858
commit
1044ad9b1d
1 changed files with 3 additions and 3 deletions
|
@ -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<str> + Copy, C: Into<char> + Ord + Display>(
|
||||
fn expression_parser<I: Input + AsRef<str> + Copy, C: Into<char> + Ord + Display>(
|
||||
variables: &[C],
|
||||
) -> impl Fn(I) -> IResult<I, Expression> {
|
||||
|input: I| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue