mirror of
https://github.com/roc-lang/roc.git
synced 2025-11-01 21:40:58 +00:00
use std::starts_with instead of iterator logic
This commit is contained in:
parent
86726e03e3
commit
2cabe6546c
3 changed files with 5 additions and 8 deletions
|
|
@ -226,8 +226,7 @@ fn loc_term<'a>(options: ExprParseOptions) -> impl Parser<'a, Loc<Expr<'a>>, EEx
|
|||
}
|
||||
|
||||
fn ident_seq<'a>() -> impl Parser<'a, Loc<Expr<'a>>, EExpr<'a>> {
|
||||
(|arena: &'a Bump, state: State<'a>, min_indent: u32| parse_ident_seq(arena, state, min_indent))
|
||||
.trace("ident_seq")
|
||||
parse_ident_seq.trace("ident_seq")
|
||||
}
|
||||
|
||||
fn parse_ident_seq<'a>(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue