8000
We read every piece of feedback, and take your input very seriously.
8000 To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edecf54 commit f1bbefeCopy full SHA for f1bbefe
style/control-structures.md
@@ -35,9 +35,7 @@ Remember the following guidelines:
35
- `for` - Omit braces if you have a `yield` clause. Otherwise,
36
surround the contents with curly-braces, even if the contents are
37
only a single line.
38
-- `case` - Omit braces if the `case` expression fits on a single line.
39
- Otherwise, use curly braces for clarity (even though they are not
40
- *required* by the parser).
+- `case` - Always omit braces in case clauses.
41
42
<!-- necessary to separate the following example from the above bullet list -->
43
0 commit comments