Skip to content

expr.block.value-(no-)trailing-expr: more clearly demonstrate intent#2179

Closed
tshepang wants to merge 1 commit intorust-lang:masterfrom
tshepang:de-clutter
Closed

expr.block.value-(no-)trailing-expr: more clearly demonstrate intent#2179
tshepang wants to merge 1 commit intorust-lang:masterfrom
tshepang:de-clutter

Conversation

@tshepang
Copy link
Member

Showing type annotations clutters the examples somewhat, because we also use asserts to prove the rules.

Showing type annotations clutters the examples somewhat,
because we also use asserts to prove the rules.
@rustbot rustbot added the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Feb 17, 2026
@traviscross
Copy link
Contributor

We talked about this in the lang-docs office hours. Thanks for PR. But this doesn't seem an improvement to us, so we're going to close it.

@traviscross traviscross closed this Mar 3, 2026
@rustbot rustbot removed the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants