Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
norbajunior committed Mar 30, 2021
1 parent b131d98 commit 321abbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ defmodule Door do
def transit(%__MODULE__{state: :closed} = struct, event: "lock") do
{:ok, %__MODULE__{struct | state: :locked}}
end
# a catchall function in case of umatched combinations
# a catchall function in case of unmatched clauses
def transit(_, _), do: {:error, :not_allowed}
end
```
Expand Down

0 comments on commit 321abbe

Please sign in to comment.