graydon/rust — pull request #1044 by mbrubeck (2011-10-18 05:14:51+00:00)
Title: Update documentation to use paren-free syntax

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.