From d8f36ab3034ee32df901e32fc9a2730c963bd33d Mon Sep 17 00:00:00 2001 From: Florian Cassayre Date: Thu, 17 Dec 2020 18:07:42 +0100 Subject: [PATCH] Fix typo in control syntax documentation --- docs/docs/reference/other-new-features/control-syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"