From 11407a19536af8a55ca0352add456530b1fa2b1a Mon Sep 17 00:00:00 2001 From: Nicolas Ettlin Date: Sun, 8 Aug 2021 17:39:45 +0200 Subject: [PATCH] Fix a syntax error --- _overviews/scala3-book/types-union.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_overviews/scala3-book/types-union.md b/_overviews/scala3-book/types-union.md index 5f6a918e16..30df27d05c 100644 --- a/_overviews/scala3-book/types-union.md +++ b/_overviews/scala3-book/types-union.md @@ -35,7 +35,7 @@ help("hi") // error: Found: ("hi" : String) 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: ```scala -case 1.0 = > ??? // ERROR: this line won’t compile +case 1.0 => ??? // ERROR: this line won’t compile ``` ### Alternative to Union Types