Skip to content

Commit d49d930

Browse files
authored
Merge pull request #2660 from YVbakker/main
fix a typo in FP Modeling chapter
2 parents dd4da87 + d8f1ca2 commit d49d930

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_overviews/scala3-book/domain-modeling-fp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ implicit class PizzaOps(p: Pizza) {
748748
```
749749
In the above code, we define the different methods on pizzas as methods in an _implicit class_.
750750
With `implicit class PizzaOps(p: Pizza)` then wherever `PizzaOps` is imported its methods will be available on
751-
instances of `Pizza`. The reciever in this case is `p`.
751+
instances of `Pizza`. The receiver in this case is `p`.
752752

753753
{% endtab %}
754754
{% tab 'Scala 3' for=module_7 %}

0 commit comments

Comments
 (0)