From 58d646e2def2caa169c70f0f89d818f691d10548 Mon Sep 17 00:00:00 2001 From: gnp Date: Tue, 22 Dec 2020 13:51:33 -0800 Subject: [PATCH] Remove "be" in "... have to be appear..." --- 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 72987c6e195f..9071383b7bbf 100644 --- a/docs/docs/reference/other-new-features/control-syntax.md +++ b/docs/docs/reference/other-new-features/control-syntax.md @@ -38,7 +38,7 @@ The rules in detail are: - The enumerators of a `for`-expression can be written without enclosing parentheses or braces if they are followed by a `yield` or `do`. - A `do` in a `for`-expression expresses a `for`-loop. - A `catch` can be followed by a single case on the same line. - If there are multiple cases, these have to be appear within braces (just like in Scala 2) + If there are multiple cases, these have to appear within braces (just like in Scala 2) or an indented block. ### Rewrites