This document is the primary reference for the Rust programming language.
This document is not normative. It may include details that are specific to rustc
itself, and should not be taken as a specification for the Rust language. We intend to produce such a document someday, but this is what we have for now.
cargo install mdbook
to install it).First, go to the repository folder and test the code snippets to catch compilation errors:
cd reference
mdbook test
And then generate the book:
mdbook build
The generated HTML will be in the docs
folder.