mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
clippy
This commit is contained in:
parent
feb77b5bcc
commit
db7e604643
6 changed files with 19 additions and 26 deletions
|
@ -580,7 +580,7 @@ type Body<'a> = (Located<Pattern<'a>>, Located<Expr<'a>>);
|
|||
|
||||
fn body<'a>(min_indent: u16) -> impl Parser<'a, Body<'a>> {
|
||||
let indented_more = min_indent + 1;
|
||||
let result = and!(
|
||||
and!(
|
||||
// this backtrackable is required for the case
|
||||
//
|
||||
// i = 64
|
||||
|
@ -601,8 +601,7 @@ fn body<'a>(min_indent: u16) -> impl Parser<'a, Body<'a>> {
|
|||
.parse(a, s)
|
||||
}
|
||||
)
|
||||
);
|
||||
result
|
||||
)
|
||||
}
|
||||
|
||||
fn body_at_indent<'a>(indent_level: u16) -> impl Parser<'a, Body<'a>> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue