Skip to content

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