mirror of https://github.com/rust-lang/reference
b0e0ad6490
This updates to mdbook 0.3 which uses relative links, which are much better (the pages mostly work when viewing on GitHub for example). |
||
---|---|---|
src | ||
stable-check | ||
tests | ||
theme | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
CONTRIBUTING.md | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md | ||
book.toml | ||
reference.md |
README.md
The Rust Language Reference
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.
Dependencies
- rustc (the Rust compiler).
- mdbook (use
cargo install mdbook
to install it).
Build steps
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.