initial commit
[rust-101.git] / src / main.rs
1 // Welcome to Rust-101
2 // ===================
3 //
4 // This is Rust-101, a small tutorial to the [Rust language](http://www.rust-lang.org/).
5 // This is intended to be an interactive, hands-on course: I believe the only way to
6 // *really* learn a language is to write code in it, so you should be coding during
7 // the course. These documents mainly serve as a guide to the teacher, reminding me
8 // what to explain in which order, and making sure I have sample code for all topics
9 // I plan to cover. They may also be helpful as an offline resource, but you're on your
10 // own then.
11
12 // The actual course is in the partXX.rs files. I suggest you get started with
13 // [the first part](part00.html), or jump directly to where you left off:
14
15 // * [Part 00](part00.html)
16 // * [Part 01](part01.html)
17 mod part00;
18 mod part01;
19
20 // To actually run the code after filling in the blanks, simply edit the `main`
21 // function below.
22
23 fn main() {
24     part00::part_main();
25 }