mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
more clippy things
This commit is contained in:
parent
e30893b66e
commit
4db48d9f13
5 changed files with 5 additions and 5 deletions
|
@ -342,7 +342,7 @@ fn parse_concrete_type<'a>(
|
|||
//
|
||||
// If we made it this far and don't have a next_char, then necessarily
|
||||
// we have consumed a '.' char previously.
|
||||
return malformed(next_char.or_else(|| Some('.')), arena, state, parts);
|
||||
return malformed(next_char.or(Some('.')), arena, state, parts);
|
||||
}
|
||||
|
||||
if part_buf.is_empty() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue