Skip to content

Commit

Permalink
remove unused pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegillet committed Aug 30, 2024
1 parent f576805 commit a24bd0f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ open maybeAccount =
Nothing ->
Ok (BankAccount { accountBalance = 0, opened = True })

Just (BankAccount { accountBalance, opened }) ->
Just (BankAccount { opened }) ->
if opened then
Err AccountAlreadyOpen

Expand Down

0 comments on commit a24bd0f

Please sign in to comment.