rust-lang/rust-by-example
Learn Rust with examples (Live code editor included)
repo name | rust-lang/rust-by-example |
repo link | https://github.com/rust-lang/rust-by-example |
homepage | https://doc.rust-lang.org/stable/rust-by-example/ |
language | |
size (curr.) | 139398 kB |
stars (curr.) | 3442 |
created | 2014-04-24 |
license | Other |
Rust By Example
Learn Rust with examples (Live code editor included)
Using
If you’d like to read Rust by Example, you can visit https://doc.rust-lang.org/rust-by-example/ to read it online.
If you’d like to read it locally, install Rust, and then:
$ git clone https://github.com/rust-lang/rust-by-example
$ cd rust-by-example
$ cargo install mdbook --version 0.2 --force
$ mdbook build
$ mdbook serve
To be able to run the examples, you must be connected to the internet; you can read all content offline, however!
Contributing
Please see the CONTRIBUTING.md file for more details.
Translations to other languages
License
Rust by Example is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Rust by Example by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.