diff --git a/docs/docs/reference/other-new-features/control-syntax.md b/docs/docs/reference/other-new-features/control-syntax.md index 73a3774e13bb..03555c10e6d6 100644 --- a/docs/docs/reference/other-new-features/control-syntax.md +++ b/docs/docs/reference/other-new-features/control-syntax.md @@ -9,7 +9,7 @@ around the generators of a `for`-expression. Examples: ```scala if x < 0 then "negative" -else if x == 0 +else if x == 0 then "zero" else "positive"