- Notifications
You must be signed in to change notification settings - Fork1.4k
Learn Rust with examples (Live code editor included)
License
Apache-2.0, MIT licenses found
Licenses found
rust-lang/rust-by-example
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Learn Rust with examples (Live code editor included)
If you'd like to read Rust by Example, you can visithttps://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-examplecd rust-by-examplecargo install mdbookmdbook buildmdbook serve
To be able to run the examples, you must be connected to the internet; you canread all content offline, however!
The following warnings can be ignored safely.
[WARN] (mdbook::preprocess::cmd): The command wasn't found, is the "gettext" preprocessor installed?[WARN] (mdbook::preprocess::cmd): Command: mdbook-gettext
If there is a translated resource inpo/
directory, it can be specified throughMDBOOK_BOOK__LANGUAGE
like below:
git clone https://github.com/rust-lang/rust-by-examplecd rust-by-examplecargo install mdbookMDBOOK_BOOK__LANGUAGE=ja mdbook buildMDBOOK_BOOK__LANGUAGE=ja mdbook serve
Please see theCONTRIBUTING.md file for more details.
Please see theTRANSLATING.md file for more details.
- Japanese/日本語:TRANSLATING_JA.md
Rust by Example is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE orhttp://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT orhttp://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submittedfor inclusion in Rust by Example by you, as defined in the Apache-2.0 license, shall bedually licensed as above, without any additional terms or conditions.
About
Learn Rust with examples (Live code editor included)