Skip to content

Commit e0fcc79

Browse files
committed
Move indentation-experimental to experimental/fewer-braces.md
1 parent b3e8556 commit e0fcc79

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/_docs/reference/other-new-features/indentation-experimental.md renamed to docs/_docs/reference/experimental/fewer-braces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: doc-page
33
title: "Fewer Braces"
4-
movedTo: https://docs.scala-lang.org/scala3/reference/other-new-features/indentation-experimental.html
4+
movedTo: https://docs.scala-lang.org/scala3/reference/experimental/fewer-braces.html
55
---
66

77
By and large, the possible indentation regions coincide with those regions where braces `{...}` are also legal, no matter whether the braces enclose an expression or a set of definitions. There is one exception, though: Arguments to function can be enclosed in braces but they cannot be simply indented instead. Making indentation always significant for function arguments would be too restrictive and fragile.

docs/sidebar.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ subsection:
9494
- page: reference/other-new-features/targetName.md
9595
- page: reference/other-new-features/control-syntax.md
9696
- page: reference/other-new-features/indentation.md
97-
- page: reference/other-new-features/indentation-experimental.md
9897
- page: reference/other-new-features/safe-initialization.md
9998
- page: reference/other-new-features/type-test.md
10099
- page: reference/other-new-features/experimental-defs.md
@@ -155,6 +154,7 @@ subsection:
155154
directory: experimental
156155
index: reference/experimental/overview.md
157156
subsection:
157+
- page: reference/experimental/fewer-braces.md
158158
- page: reference/experimental/canthrow.md
159159
- page: reference/experimental/erased-defs.md
160160
- page: reference/experimental/erased-defs-spec.md

0 commit comments

Comments
 (0)