We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 471f897 commit 78836c3Copy full SHA for 78836c3
docs/docs/reference/adts.md
@@ -32,7 +32,7 @@ enum Option[+T] {
32
```
33
34
Note that the parent type of `None` is inferred as
35
-`List[Nothing]`. Generally, all covariant type parameters of the enum
+`Option[Nothing]`. Generally, all covariant type parameters of the enum
36
class are minimized in a compiler-generated extends clause whereas all
37
contravariant type parameters are maximized. If `Option` was non-variant,
38
you'd need to give the extends clause of `None` explicitly.
0 commit comments