diff options
| author | bors <bors@rust-lang.org> | 2014-05-04 14:21:52 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-05-04 14:21:52 -0700 |
| commit | 028159ead403c09efcaa2b0bb0738d33209c3950 (patch) | |
| tree | 68e88ef840173435a8b532e936ff8288ce8935b6 /src/rustllvm/RustWrapper.cpp | |
| parent | 59569397fbcd0a9b7b3649cd9957cace2d6889d8 (diff) | |
| parent | b3d7aa39240f17ca8b496b31908da4c08a639555 (diff) | |
| download | rust-028159ead403c09efcaa2b0bb0738d33209c3950.tar.gz rust-028159ead403c09efcaa2b0bb0738d33209c3950.zip | |
auto merge of #13676 : mdinger/rust/tutorial_doc, r=pnkfelix
Improve tutorial discussion of closures, e.g. with respect to type inference and variable capture. Fix #13621 ---- original description follows I'd like this pulled to master if possible but if not I'd appreciate comments on what I need to change. I found the closures difficult to understand as they were so I tried to explain it so I would've had an easier time understanding it. I think it's better at least, somewhat. I don't know that everyone liked the `-> ()` I included but I thought explicit is best to aid understanding. I thought it was much harder to understand than it should have been. [EDIT] - Clicked too early. This doesn't `make check` without errors on my Xubuntu on Virtualbox machine. Not sure why. I don't think I changed anything problematic. I'll try `make check` on master tomorrow. Opened https://github.com/mozilla/rust/issues/13621 regarding this.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
