Skip to content

Commit 5d9e31b

Browse files
authored
Merge pull request #2630 from dotty-staging/add-reference-8
Fix typo
2 parents ddd2a1b + 7f4b8cd commit 5d9e31b

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
@@ -55,8 +55,8 @@ respect to normal case classes. The classes making up the cases do
5555
exist, and can be unvealed by constructing them directly with a `new`.
5656

5757
```scala
58+
scala> new Option.Some(2)
5859
val res3: t2.Option.Some[Int] = Some(2)
59-
scala> scala> new Option.Some(2)
6060
```
6161

6262
As all other enums, ADTs can have methods on both the enum class and

0 commit comments

Comments
 (0)