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 1a901ec commit 20e681bCopy full SHA for 20e681b
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