mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
fmt
This commit is contained in:
parent
f969c7c6d0
commit
8092f31a29
6 changed files with 15 additions and 20 deletions
|
@ -110,8 +110,8 @@ struct Ast<'a> {
|
|||
}
|
||||
|
||||
fn parse_all<'a>(arena: &'a Bump, src: &'a str) -> Result<Ast<'a>, SyntaxError<'a>> {
|
||||
let (module, state) =
|
||||
module::parse_header(arena, State::new(src.as_bytes())).map_err(|e| SyntaxError::Header(e.problem))?;
|
||||
let (module, state) = module::parse_header(arena, State::new(src.as_bytes()))
|
||||
.map_err(|e| SyntaxError::Header(e.problem))?;
|
||||
|
||||
let (_, defs, _) = module_defs().parse(arena, state).map_err(|(_, e, _)| e)?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue