mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
clean up helpers
This commit is contained in:
parent
b349ae7ab5
commit
cba55734cb
8 changed files with 13 additions and 82 deletions
|
@ -32,7 +32,7 @@ pub fn parse_loc_with<'a>(
|
|||
let state = State::new(input.trim().as_bytes());
|
||||
|
||||
match crate::expr::test_parse_expr(0, arena, state) {
|
||||
Ok((loc_expr, _state)) => Ok(loc_expr),
|
||||
Ok(loc_expr) => Ok(loc_expr),
|
||||
Err(fail) => Err(SyntaxError::Expr(fail)),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue