Skip to content

Commit 11407a1

Browse files
committed
Fix a syntax error
1 parent e9cd74a commit 11407a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_overviews/scala3-book/types-union.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ help("hi") // error: Found: ("hi" : String)
3535
You’ll also get an error if you attempt to add a `case` to the `match` expression that doesn’t match the `Username` or `Password` types:
3636

3737
```scala
38-
case 1.0 = > ??? // ERROR: this line won’t compile
38+
case 1.0 => ??? // ERROR: this line won’t compile
3939
```
4040

4141
### Alternative to Union Types

0 commit comments

Comments
 (0)