Skip to content

Commit f9a9466

Browse files
authored
Fix typo Observer instead of Obserer (#2275)
1 parent 5a23323 commit f9a9466

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ There are a few things that need explanation.
197197
#### Abstract Type Members
198198
The declaration `type S <: Subject` says that within the trait `SubjectObserver` we can refer to some _unknown_ (that is, abstract) type that we call `S`.
199199
However, the type is not completely unknown: we know at least that it is _some subtype_ of the trait `Subject`.
200-
All traits and classes extending `SubjectObserer` are free to choose any type for `S` as long as the chosen type is a subtype of `Subject`.
200+
All traits and classes extending `SubjectObserver` are free to choose any type for `S` as long as the chosen type is a subtype of `Subject`.
201201
The `<: Subject` part of the declaration is also referred to as an _upper bound on `S`_.
202202

203203
#### Nested Traits

0 commit comments

Comments
 (0)