Skip to content

introduction.md: replace hard-to-read example #1873

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 3, 2025

Conversation

tshepang
Copy link
Member

No description provided.

@rustbot rustbot added the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Jun 28, 2025
@ehuss
Copy link
Contributor

ehuss commented Jun 30, 2025

This was intentionally written that way to emphasize that the block should document the previous edition's behavior. It certainly could be reworded to make that clearer, but I would prefer to keep the intent.

@tshepang
Copy link
Member Author

how about

This syntax is disallowed as of the 2018 edition.

The original was written somewhat awkwardly intentionally, as it wants
to be a template.  Let's align the template to something closer to the
language that we use elsewhere in the Reference.
@traviscross traviscross enabled auto-merge July 3, 2025 16:10
@traviscross traviscross added this pull request to the merge queue Jul 3, 2025
Merged via the queue into rust-lang:master with commit aa59df8 Jul 3, 2025
5 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Jul 3, 2025
@tshepang tshepang deleted the patch-2 branch July 3, 2025 18:12
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.

4 participants