mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
Fix clippy issue
This commit is contained in:
parent
b8de09d048
commit
7914f0c7d8
3 changed files with 6 additions and 3 deletions
|
@ -4032,15 +4032,15 @@ where
|
|||
G: Fn(&'a str, Position) -> E,
|
||||
E: 'a,
|
||||
{
|
||||
match state.bytes() {
|
||||
&[b'o', b'r', ..] => {
|
||||
match *state.bytes() {
|
||||
[b'o', b'r', ..] => {
|
||||
return Ok((
|
||||
MadeProgress,
|
||||
OperatorOrDef::BinOp(BinOp::Or),
|
||||
state.advance(2),
|
||||
))
|
||||
}
|
||||
&[b'a', b'n', b'd', ..] => {
|
||||
[b'a', b'n', b'd', ..] => {
|
||||
return Ok((
|
||||
MadeProgress,
|
||||
OperatorOrDef::BinOp(BinOp::And),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue