chore: clippy fix

This commit is contained in:
rvcas 2023-07-05 12:06:03 -04:00
parent a306d6e9f2
commit e331b3449b
No known key found for this signature in database
GPG Key ID: C09B64E263F7D68C
1 changed files with 3 additions and 3 deletions

View File

@ -7,9 +7,9 @@ use crate::{
parser::{token::Token, ParseError},
};
pub(crate) fn parser<'a>(
expression: Recursive<'a, Token, UntypedExpr, ParseError>,
) -> impl Parser<Token, Chain, Error = ParseError> + 'a {
pub(crate) fn parser(
expression: Recursive<'_, Token, UntypedExpr, ParseError>,
) -> impl Parser<Token, Chain, Error = ParseError> + '_ {
choice((
select! { Token::Name { name } => name }
.then_ignore(just(Token::Colon))