]> git.lizzy.rs Git - rust.git/commit
Adds comma
authorRahul Horé <hore.rahul@gmail.com>
Fri, 3 Oct 2014 20:40:58 +0000 (16:40 -0400)
committerRahul Horé <hore.rahul@gmail.com>
Fri, 3 Oct 2014 20:40:58 +0000 (16:40 -0400)
commit9040948ef39ed66a700a9dacfab29a8ddf723888
tree0a71de5c50eaece23db551c5c1ba6247002d8aa8
parent083b46dd298b5dfb7731fab2c8850a1423cc4ebb
Adds comma

Oddly (to me), this code runs fine without the comma separating the `Some` and `None` arms of the `match` construct. It seems like Rust doesn't require you to separate arms with commas if all the expressions are enclosed in braces.
src/doc/guide.md