mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-17 17:25:01 +00:00
clippy
This commit is contained in:
parent
a7b843743d
commit
dc96e194bd
3 changed files with 7 additions and 4 deletions
|
@ -250,9 +250,12 @@ fn crash_kw<'a>() -> impl Parser<'a, Expr<'a>, EExpr<'a>> {
|
|||
}
|
||||
}
|
||||
|
||||
// avoids ownership issues
|
||||
#[allow(clippy::blocks_in_conditions)]
|
||||
fn loc_possibly_negative_or_negated_term<'a>(
|
||||
options: ExprParseOptions,
|
||||
) -> impl Parser<'a, Loc<Expr<'a>>, EExpr<'a>> {
|
||||
|
||||
one_of![
|
||||
|arena, state: State<'a>, min_indent: u32| {
|
||||
let initial = state.clone();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue