Skip to content

Commit f6df740

Browse files
committed
Note potential reason to keep in (<place>) <expr> over in <place> { <block> }
1 parent 4ec9be7 commit f6df740

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

text/0000-box-and-in-for-stdlib.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ tandem with types provided by the stdlib, such as `Box<T>`.
174174
* We could use the `in (<place-expr>) <expr>` syntax. An earlier
175175
version of this RFC used this alternative. It is easier to implement
176176
on the current code base, but I do not know of any other benefits.
177+
(Well, maybe parentheses are less "heavyweight" than curly-braces?)
177178

178179
* A number of other syntaxes for placement have been proposed in the
179180
past; see for example discussion on [RFC PR 405] as well as

0 commit comments

Comments
 (0)