Skip to content

Commit 136a9a4

Browse files
committed
Fix typo
1 parent 4617771 commit 136a9a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/adts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ enum Option[+T] {
3232
```
3333

3434
Note that the parent type of `None` is inferred as
35-
`List[Nothing]`. Generally, all covariant type parameters of the enum
35+
`Option[Nothing]`. Generally, all covariant type parameters of the enum
3636
class are minimized in a compiler-generated extends clause whereas all
3737
contravariant type parameters are maximized. If `Option` was non-variant,
3838
you'd need to give the extends clause of `None` explicitly.

0 commit comments

Comments
 (0)