Skip to content

Commit b11a94d

Browse files
authored
Merge pull request #8817 from eloots/correct-typo-in-new-control-syntax-doc
Fix typo in reference doc for new control syntax
2 parents 2134c45 + 521fdea commit b11a94d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/other-new-features/control-syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ The rules in detail are:
3838

3939
### Rewrites
4040

41-
The Dotty compiler can rewrite source code from old syntax and new syntax and back.
41+
The Dotty compiler can rewrite source code from old syntax to new syntax and back.
4242
When invoked with options `-rewrite -new-syntax` it will rewrite from old to new syntax, dropping parentheses and braces in conditions and enumerators. When invoked with options `-rewrite -old-syntax` it will rewrite in the reverse direction, inserting parentheses and braces as needed.

0 commit comments

Comments
 (0)