mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 08:11:12 +00:00
appease clippy
This commit is contained in:
parent
b044a0b8a8
commit
65c1e0e5b1
1 changed files with 3 additions and 3 deletions
|
@ -285,13 +285,13 @@ pub fn spaces_exactly<'a>(spaces_expected: u16) -> impl Parser<'a, ()> {
|
||||||
}
|
}
|
||||||
|
|
||||||
if spaces_seen == 0 {
|
if spaces_seen == 0 {
|
||||||
return Err(unexpected_eof(0, state.attempting, state));
|
Err(unexpected_eof(0, state.attempting, state))
|
||||||
} else {
|
} else {
|
||||||
return Err(unexpected(
|
Err(unexpected(
|
||||||
spaces_seen.into(),
|
spaces_seen.into(),
|
||||||
state.clone(),
|
state.clone(),
|
||||||
state.attempting,
|
state.attempting,
|
||||||
));
|
))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue