mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
more various clippy fixes
This commit is contained in:
parent
f3f6f58d09
commit
6aa168ee0b
5 changed files with 8 additions and 8 deletions
|
@ -1441,7 +1441,7 @@ where
|
|||
{
|
||||
debug_assert_ne!(word, b'\n');
|
||||
|
||||
move |_arena: &'a Bump, state: State<'a>| match state.bytes().get(0) {
|
||||
move |_arena: &'a Bump, state: State<'a>| match state.bytes().first() {
|
||||
Some(x) if *x == word => {
|
||||
let state = state.advance(1);
|
||||
Ok((MadeProgress, (), state))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue