Skip to content

Commit b009274

Browse files
authored
Merge pull request #931 from Okina1Raion/patch-2
or i cannot understand
2 parents 1afc9d7 + f5d6019 commit b009274

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_tour/variances.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ Another example that can help one understand variance is `trait Function1[-T, +R
143143
Assume the similar `Cat`, `Dog`, `Animal` inheritance tree used earlier, plus the following:
144144

145145
```tut
146-
class SmallAnimal
146+
class SmallAnimal extends Animal
147147
class Mouse extends SmallAnimal
148148
```
149149

0 commit comments

Comments
 (0)