mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
remove arena argument
This commit is contained in:
parent
bb9a2525b5
commit
fed292811f
6 changed files with 14 additions and 25 deletions
|
@ -121,7 +121,7 @@ pub fn module_name<'a>() -> impl Parser<'a, ModuleName<'a>, SyntaxError<'a>> {
|
|||
match peek_utf8_char(&state) {
|
||||
Ok((first_letter, bytes_parsed)) => {
|
||||
if !first_letter.is_uppercase() {
|
||||
return Err(unexpected(arena, 0, Attempting::Module, state));
|
||||
return Err(unexpected(0, Attempting::Module, state));
|
||||
};
|
||||
|
||||
let mut buf = String::with_capacity_in(4, arena);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue