Skip to content

Commit 2466d97

Browse files
authored
Merge pull request #8818 from eloots/correct-typo-in-new-indentation-based-syntax-doc
Fix typo (missing space) in reference doc on new indentation based sy…
2 parents b11a94d + c24d11a commit 2466d97

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
@@ -344,7 +344,7 @@ The Dotty compiler can rewrite source code to indented code and back.
344344
When invoked with options `-rewrite -indent` it will rewrite braces to
345345
indented regions where possible. When invoked with with options `-rewrite -noindent` it will rewrite in the reverse direction, inserting braces for indentation regions.
346346
The `-indent` option only works on [new-style syntax](./control-syntax.html). So to go from old-style syntax to new-style indented code one has to invoke the compiler twice, first with options `-rewrite -new-syntax`, then again with options
347-
`-rewrite-indent`. To go in the opposite direction, from indented code to old-style syntax, it's `-rewrite -noindent`, followed by `-rewrite -old-syntax`.
347+
`-rewrite -indent`. To go in the opposite direction, from indented code to old-style syntax, it's `-rewrite -noindent`, followed by `-rewrite -old-syntax`.
348348

349349
### Variant: Indentation Marker `:`
350350

0 commit comments

Comments
 (0)