mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
various updates
This commit is contained in:
parent
ade5e6de26
commit
134de80150
14 changed files with 55 additions and 141 deletions
|
@ -122,10 +122,7 @@ pub fn parse_single_quote<'a>() -> impl Parser<'a, &'a str, EString<'a>> {
|
|||
}
|
||||
}
|
||||
|
||||
fn consume_indent<'a>(
|
||||
mut state: State<'a>,
|
||||
mut indent: u32,
|
||||
) -> Result<State, (Progress, EString<'a>, State<'a>)> {
|
||||
fn consume_indent(mut state: State, mut indent: u32) -> Result<State, (Progress, EString, State)> {
|
||||
while indent > 0 {
|
||||
match state.bytes().first() {
|
||||
Some(b' ') => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue