Skip to content

Commit c1f36f4

Browse files
Merge pull request #10840 from FlorianCassayre/fix-control-syntax-documentation
Fix typo in control syntax documentation
2 parents 1302da3 + d8f36ab commit c1f36f4

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)