Skip to content

Commit

Permalink
Fix typo in design-anti-patterns.md (#13056)
Browse files Browse the repository at this point in the history
  • Loading branch information
optikfluffel authored Nov 1, 2023
1 parent b43b2e9 commit 4cc9ed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/elixir/pages/anti-patterns/design-anti-patterns.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ def update_animal(%Animal{count: count, skin: skin}) do
end
```

These functions may still be implemented with multiple clauses, as long as the clauses group related funtionality. For example, `update_product` could be in practice implemented as follows:
These functions may still be implemented with multiple clauses, as long as the clauses group related functionality. For example, `update_product` could be in practice implemented as follows:

```elixir
def update_product(%Product{count: 0}) do
Expand Down

0 comments on commit 4cc9ed5

Please sign in to comment.