mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
more clippy things
This commit is contained in:
parent
e30893b66e
commit
4db48d9f13
5 changed files with 5 additions and 5 deletions
|
@ -1263,7 +1263,7 @@ fn patterns_to_when<'a>(
|
|||
// Even if the body was Ok, replace it with this Err.
|
||||
// If it was already an Err, leave it at that Err, so the first
|
||||
// RuntimeError we encountered remains the first.
|
||||
body = body.and_then(|_| {
|
||||
body = body.and({
|
||||
Err(Located {
|
||||
region: pattern.region,
|
||||
value,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue