diff options
| author | bors <bors@rust-lang.org> | 2014-07-20 06:11:32 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-07-20 06:11:32 +0000 |
| commit | 320dbc18d89537b306226b74c3daa452ab828751 (patch) | |
| tree | 38f670527da3d42e6f0b2857789b788b41d31c56 /src/libsyntax/parse | |
| parent | 7d0a613d0c462a07b97a35faf73cac8de66bc52a (diff) | |
| parent | 89e28d3df997fd19fa6d8dfc1e4843e9bd6f56bf (diff) | |
| download | rust-320dbc18d89537b306226b74c3daa452ab828751.tar.gz rust-320dbc18d89537b306226b74c3daa452ab828751.zip | |
auto merge of #15745 : treeman/rust/tutorial-fixup, r=steveklabnik
Simplify example in 5.2 to remove hidden `#[deriving(Show)]`. Traits haven't been introduced yet and now it's easier to just type in the code and expect it to work. Add in some examples for constructing the enum types. Explicitly expose `#![feature(struct_variant)]` in the code to make it more transparent, this bit me when I worked through the tutorial. Add references in chapter 8 to later chapters describing `Rc`, `Gc` and `Send`. This is a simple fix for #15293. Simplify vector indexing example in chapter 13 and removed hidden, unnecessary, code. Gave an example usage of the derived `Rand` trait in chapter 17. Removed references to removed 'extra' crate.
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions
