various updates

This commit is contained in:
Folkert 2022-11-03 17:01:56 +01:00
parent ade5e6de26
commit 134de80150
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
14 changed files with 55 additions and 141 deletions

View file

@ -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' ') => {