Skip to content

Commit d8f36ab

Browse files
Fix typo in control syntax documentation
1 parent 001f7fa commit d8f36ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/other-new-features/control-syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ around the generators of a `for`-expression. Examples:
99
```scala
1010
if x < 0 then
1111
"negative"
12-
else if x == 0
12+
else if x == 0 then
1313
"zero"
1414
else
1515
"positive"

0 commit comments

Comments
 (0)