We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edfaa17 commit c822f33Copy full SHA for c822f33
prqlc/prqlc-parser/src/parser/expr.rs
@@ -352,12 +352,11 @@ where
352
353
fn lambda_func<E>(expr: E) -> impl Parser<TokenKind, Expr, Error = PError> + Clone
354
where
355
- E: Parser<TokenKind, Expr, Error = PError> + Clone + 'static,
+ E: Parser<TokenKind, Expr, Error = PError> + Clone,
356
{
357
let param = ident_part()
358
.then(type_expr().delimited_by(ctrl('<'), ctrl('>')).or_not())
359
- .then(ctrl(':').ignore_then(expr.clone().map(Box::new)).or_not())
360
- .boxed();
+ .then(ctrl(':').ignore_then(expr.clone().map(Box::new)).or_not());
361
362
let generic_args = ident_part()
363
.then_ignore(ctrl(':'))
0 commit comments