/rust-by-example

Learn Rust with examples (Live code editor included)

Primary LanguageHTMLApache License 2.0Apache-2.0

Rust By Example

Build Status

Learn Rust with examples (Live code editor included)

Using

If you'd like to read Rust by Example, you can visit https://rustbyexample.com/ 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
> 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.