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},
|
complete::{char, space1, usize},
|
||||||
streaming::one_of,
|
streaming::one_of,
|
||||||
},
|
},
|
||||||
combinator::{opt, value, verify},
|
combinator::{opt, value},
|
||||||
error::{Error, ErrorKind, ParseError},
|
error::{Error, ParseError},
|
||||||
multi::many0,
|
multi::many0,
|
||||||
sequence::{delimited, preceded},
|
sequence::{delimited, preceded},
|
||||||
};
|
};
|
||||||
|
@ -214,7 +214,7 @@ impl<'s> Slope<'s> {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Will return the longest valid fasteval expression
|
/// 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],
|
variables: &[C],
|
||||||
) -> impl Fn(I) -> IResult<I, Expression> {
|
) -> impl Fn(I) -> IResult<I, Expression> {
|
||||||
|input: I| {
|
|input: I| {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue