add some links to external resources
[rust-101.git] / src / main.rs
1 #![allow(dead_code)]
2 // Welcome to Rust-101
3 // ===================
4 //
5 // This is Rust-101, a small tutorial to the [Rust language](http://www.rust-lang.org/).
6 // This 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. These documents mainly serve as a guide to the teacher, reminding me
9 // what to explain in which order, and making sure I have sample code for all topics
10 // I plan to cover. They may also be helpful as an offline resource, but you're on your
11 // own then.
12
13 // I will assume basic familiarity with programming, and hence not explain the basic
14 // concepts common to most languages. Instead, I will focus on what makes Rust special.
15
16 // The actual course is in the partXX.rs files. I suggest you get started with
17 // [the first part](part00.html), or jump directly to where you left off:
18
19 // * [Part 00](part00.html)
20 // * [Part 01](part01.html)
21 mod part00;
22 mod part01;
23
24 // To actually run the code after filling in the blanks, simply edit the `main`
25 // function below.
26
27 fn main() {
28     part00::part_main();
29 }
30
31 // Additional material
32 // -------------------
33 // 
34 // There's tons of useful Rust stuff out there, so let me just put links to some
35 // of the most interesting places here:
36 // * [The Rust Book](https://doc.rust-lang.org/stable/book/)
37 // * [Rust by Example](http://rustbyexample.com/)
38 // * The [Rust Subreddit](https://www.reddit.com/r/rust/)