add script to push docs (will be tested soon)
[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 // The actual course is in the partXX.rs files. I suggest you get started with
14 // [the first part](part00.html), or jump directly to where you left off:
15
16 // * [Part 00](part00.html)
17 // * [Part 01](part01.html)
18 mod part00;
19 mod part01;
20
21 // To actually run the code after filling in the blanks, simply edit the `main`
22 // function below.
23
24 fn main() {
25     part00::part_main();
26 }