4 // This is [Rust-101](https://www.ralfj.de/projects/rust-101/), a small *work-in-progress*
5 // tutorial for the [Rust language](http://www.rust-lang.org/).
6 // It is intended to be an interactive, hands-on course: I believe the only way to
7 // *really* learn a language is to write code in it, so you should be coding during
8 // the course. I am writing this tutorial with a tutorial situation in mind, i.e.,
9 // with a teacher being around to guide students through the course and answer
10 // questions as they come up. However, I think they may also be useful if you
11 // work through them on your own. Just make sure to actually play with the code.
12 // If you have any questions, maybe the "Additional Resources" below are useful.
14 // I will assume basic familiarity with programming, and hence not explain the basic
15 // concepts common to most languages. Instead, I will focus on what makes Rust special.
20 // You will need to have Rust installed, of course. It is available for download on
21 // [the Rust website](http://www.rust-lang.org/). At this point, I plan to restrict
22 // myself to stable Rust, so "Recommended" version is just right.
23 // You can find some more installation instructions in
24 // [the second chapter of The Book](https://doc.rust-lang.org/stable/book/installing-rust.html).
25 // When you are done, running `cargo build` in the root of Rust-101 should successfully compile
31 // You are meant to play around with the source code of the course as you go on, so please
32 // fetch it from the [git repository](http://www.ralfj.de/git/rust-101.git) (also available
33 // [on GitHub](https://github.com/RalfJung/rust-101)).
38 // The actual course is in the partXX.rs files. I suggest you get started with
39 // [the first part](part00.html), or jump directly to where you left off:
41 // * [Part 00](part00.html)
42 // * [Part 01](part01.html)
43 // * [Part 02](part02.html)
44 // * (to be continued)
45 #![allow(dead_code, unused_imports, unused_variables)]
50 // To actually run the code of some part (after filling in the blanks, if necessary), simply edit the `main`
57 // Additional material
58 // -------------------
60 // There's tons of useful Rust stuff out there, so let me just put links to some
61 // of the most interesting places here:
63 // * [The Rust Book](https://doc.rust-lang.org/stable/book/)
64 // * [Rust by Example](http://rustbyexample.com/)
65 // * The [Rust Subreddit](https://www.reddit.com/r/rust/)
66 // * For the IRC channel and other forums, see the "Community" section of the [Rust Documentation index](http://doc.rust-lang.org/index.html)