From 7f4b8cdd6fc98e03762dad9e1a97b5cbc8bb0514 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Wed, 31 May 2017 15:38:45 +0200 Subject: [PATCH] Fix typo --- docs/docs/reference/adts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/reference/adts.md b/docs/docs/reference/adts.md index 4f848d7a6b24..32aacd65a742 100644 --- a/docs/docs/reference/adts.md +++ b/docs/docs/reference/adts.md @@ -55,8 +55,8 @@ respect to normal case classes. The classes making up the cases do exist, and can be unvealed by constructing them directly with a `new`. ```scala +scala> new Option.Some(2) val res3: t2.Option.Some[Int] = Some(2) -scala> scala> new Option.Some(2) ``` As all other enums, ADTs can have methods on both the enum class and