diff --git a/_overviews/scala3-book/taste-control-structures.md b/_overviews/scala3-book/taste-control-structures.md index b55e9433b3..13e55a4233 100644 --- a/_overviews/scala3-book/taste-control-structures.md +++ b/_overviews/scala3-book/taste-control-structures.md @@ -50,11 +50,11 @@ The `if`/`else` control struture in Scala 2 was constructed differently, with pa ```scala // Scala 2 syntax if (test1) { - doX() + doX() } else if (test2) { - doY() + doY() } else { - doZ() + doZ() } ```