Skip to content

Commit fcfb579

Browse files
committed
Update text in indentation.md
1 parent 336dd68 commit fcfb579

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/docs/reference/other-new-features/indentation.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ layout: doc-page
33
title: Optional Braces
44
---
55

6-
As an experimental feature, Scala 3 enforces some rules on indentation and allows
7-
some occurrences of braces `{...}` to be optional.
8-
It can be turned off with the compiler flag `-noindent`.
6+
Scala 3 enforces some rules on indentation and allows some occurrences of braces `{...}` to be optional:
97

108
- First, some badly indented programs are flagged with warnings.
119
- Second, some occurrences of braces `{...}` are made optional. Generally, the rule
1210
is that adding a pair of optional braces will not change the meaning of a well-indented program.
1311

12+
These changescan can be turned off with the compiler flag `-noindent`.
1413
### Indentation Rules
1514

1615
The compiler enforces two rules for well-indented programs, flagging violations as warnings.

0 commit comments

Comments
 (0)