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 491b2fa commit 3d0abceCopy full SHA for 3d0abce
docs/docs/reference/singleton-types.md
@@ -7,7 +7,7 @@ Literal Singleton Types allows primitive literals to be used as types. For examp
7
8
```scala
9
val t: 42 = 42
10
-val t: "Jedi" = "Jedi"
+val x: "Jedi" = "Jedi"
11
```
12
13
It is also possible to define functions returning or taking singleton types such as
0 commit comments