about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-03-19 13:58:06 -0700
committerbors <bors@rust-lang.org>2013-03-19 13:58:06 -0700
commit5ae76b5babc48ff8d9ef76cd03da4836d3c74c64 (patch)
treeabc8e2ce8fbfa47ac9e734890c3d96feeb02e693 /src/libsyntax
parente1888948c640f8b8396091b336c2677cb82fdcce (diff)
parent9967dc81fe215e0c24fd451c00620929019f9c35 (diff)
downloadrust-5ae76b5babc48ff8d9ef76cd03da4836d3c74c64.tar.gz
rust-5ae76b5babc48ff8d9ef76cd03da4836d3c74c64.zip
auto merge of #5428 : thestinger/rust/tutorial, r=catamorphism
My goal is to explain the underlying concepts first (destructors and then ownership) with plenty of step-by-step examples, so that thoroughly explaining the semantics of mutability, boxes, moves, etc. is a breeze. I'm trying to avoid the comparisons with C++ that were done before, because this should be approachable for people coming from any language. C++ programmers already know these concepts so they aren't the audience that needs to be catered to. Comparisons with other languages can be done in separate documents (like [this one](https://github.com/mozilla/rust/wiki/Rust-for-CXX-programmers)).

This still needs examples for ownership (inherited mutability), owned boxes and managed boxes.
Diffstat (limited to 'src/libsyntax')
0 files changed, 0 insertions, 0 deletions