| commit | 7916e1cfeafc29e8ad6e1991451008ba710346b4 | [log] [tgz] |
|---|---|---|
| author | Eric Huss <eric@huss.org> | Mon Aug 19 08:36:58 2024 -0700 |
| committer | GitHub <noreply@github.com> | Mon Aug 19 08:36:58 2024 -0700 |
| tree | d84c426f16177a5f94face365de19bf63d788aa4 | |
| parent | 1c650987fe16f0783dbd3ceaf2d56cdb199f65c3 [diff] |
Update for unsafe attributes stabilization
This book explains the concept of “editions”, major new eras in Rust's development. You can read the book online.
The Rust Edition Guide is dual licensed under MIT/Apache2, just like Rust itself. See the LICENSE-* files in this repository for more details.
You can also build the book and read it locally if you'd like.
Building the book requires mdBook 0.4. To get it:
$ cargo install mdbook
The most straight-forward way to build and view the book locally is to use the following command:
$ mdbook serve --open
This builds the HTML version of the book, starts a webserver at http://localhost:3000, and opens your default web browser. It will also automatically rebuild the book whenever the source changes, and the page should automatically reload.
To run the tests:
$ mdbook test