Skip to content
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

Update documentation to use paren-free syntax #1044

Closed
wants to merge 4 commits into from

Conversation

mbrubeck
Copy link
Contributor

This updates the documentation to the new paren-free / paren-optional expression syntax. There's also a simple typo fix.

The for and for each examples in the current documentation do not compile. The if and alt examples do compile, but are not written in the current style and the documentation is out of date.

@jdm
Copy link
Contributor

jdm commented Oct 18, 2011

Alt branches no longer require case or parentheses, if you want to update that too :)

@brson brson closed this Oct 18, 2011
@mbrubeck
Copy link
Contributor Author

celinval pushed a commit to celinval/rust-dev that referenced this pull request Jun 4, 2024
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