Skip to content

Commit f0ecd18

Browse files
committed
Indentation for scala 2 reference made consistent as others
1 parent d240f10 commit f0ecd18

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_overviews/scala3-book/taste-control-structures.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ The `if`/`else` control struture in Scala 2 was constructed differently, with pa
5050
```scala
5151
// Scala 2 syntax
5252
if (test1) {
53-
doX()
53+
doX()
5454
} else if (test2) {
55-
doY()
55+
doY()
5656
} else {
57-
doZ()
57+
doZ()
5858
}
5959
```
6060

0 commit comments

Comments
 (0)