Skip to content

Commit 3d0abce

Browse files
authored
Change name of variable
1 parent 491b2fa commit 3d0abce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/singleton-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Literal Singleton Types allows primitive literals to be used as types. For examp
77

88
```scala
99
val t: 42 = 42
10-
val t: "Jedi" = "Jedi"
10+
val x: "Jedi" = "Jedi"
1111
```
1212

1313
It is also possible to define functions returning or taking singleton types such as

0 commit comments

Comments
 (0)