Skip to content

Commit d5e421a

Browse files
authored
Merge pull request scala#3060 from rohantheman/patch-1
Update domain-modeling-fp.md
2 parents 98bb817 + b1cef55 commit d5e421a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ extension (p: Pizza)
777777
p.copy(crustType = ct)
778778
```
779779
In the above code, we define the different methods on pizzas as _extension methods_.
780-
With `extension (p: Pizza)` we say that we want to make the methods available on instances of `Pizza`. The reciever
780+
With `extension (p: Pizza)` we say that we want to make the methods available on instances of `Pizza`. The receiver
781781
in this case is `p`.
782782

783783
{% endtab %}

0 commit comments

Comments
 (0)