Skip to content

Commit f5d6019

Browse files
author
Okina1Raion
authored
or i cannot understand
1 parent 0cf9f94 commit f5d6019

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)