From 4c7f5b23c9bd4cedc1374fd692edc5edf06b701f Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 8 Jun 2015 14:29:33 +0200 Subject: [PATCH] add some links to external resources --- README.md | 7 +++++++ src/main.rs | 9 +++++++++ src/part00.rs | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..406acad --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +Rust-101 +======== + +This is Rust-101, a tutorial for the [Rust language](http://www.rust-lang.org/). +You can either read through the sources in `src/`, or generate the HTML +in `docs/` using `./pycco-rs src/*.rs`, or go directly to +[the rendered output](https://ralfjung.github.io/rust-101/main.html). diff --git a/src/main.rs b/src/main.rs index 4352a50..a0dc866 100644 --- a/src/main.rs +++ b/src/main.rs @@ -27,3 +27,12 @@ mod part01; fn main() { part00::part_main(); } + +// Additional material +// ------------------- +// +// There's tons of useful Rust stuff out there, so let me just put links to some +// of the most interesting places here: +// * [The Rust Book](https://doc.rust-lang.org/stable/book/) +// * [Rust by Example](http://rustbyexample.com/) +// * The [Rust Subreddit](https://www.reddit.com/r/rust/) diff --git a/src/part00.rs b/src/part00.rs index b887eb4..962e801 100644 --- a/src/part00.rs +++ b/src/part00.rs @@ -18,4 +18,4 @@ pub fn read_vec() -> Vec { pub fn part_main() { -} \ No newline at end of file +} -- 2.30.2