Skip to content

Commit 32dd422

Browse files
Merge pull request #12437 from unkarjedy/patch-5
update indentation.md: fix flags `-` prefix
2 parents b064088 + 754f74c commit 32dd422

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ end IndentWidth
403403

404404
### Settings and Rewrites
405405

406-
Significant indentation is enabled by default. It can be turned off by giving any of the options `-no-indent`, `old-syntax` and `language:Scala2`. If indentation is turned off, it is nevertheless checked that indentation conforms to the logical program structure as defined by braces. If that is not the case, the compiler issues a warning.
406+
Significant indentation is enabled by default. It can be turned off by giving any of the options `-no-indent`, `-old-syntax` and `-language:Scala2`. If indentation is turned off, it is nevertheless checked that indentation conforms to the logical program structure as defined by braces. If that is not the case, the compiler issues a warning.
407407

408408
The Scala 3 compiler can rewrite source code to indented code and back.
409409
When invoked with options `-rewrite -indent` it will rewrite braces to

0 commit comments

Comments
 (0)