]> git.lizzy.rs Git - rust.git/blob - src/doc/index.md
Auto merge of #38981 - sdleffler:patch-1, r=alexcrichton
[rust.git] / src / doc / index.md
1 % Rust Documentation
2
3 <style>
4 nav {
5     display: none;
6 }
7 </style>
8
9 This page is an overview of the documentation included with your Rust install.
10 Other unofficial documentation may exist elsewhere; for example, the [Rust
11 Learning] project collects documentation from the community, and [Docs.rs]
12 builds documentation for individual Rust packages.
13
14 ## API Documentation
15
16 Rust provides a standard library with a number of features; [we host its
17 documentation here][api].
18
19 ## Reference Documentation
20
21 Rust does not yet have a formal specification, but we have [a reference document
22 ][ref]. It is guaranteed to be accurate, but not complete. We now have a
23 policy that all new features must be included in the reference before
24 stabilization; however, we are still back-filling things that landed before
25 then. That work is being tracked [here][38643].
26
27 ## Extended Error Documentation
28
29 Many of Rust's errors come with error codes, and you can request extended
30 diagnostics from the compiler on those errors. We also [have the text of those
31 extended errors on the web][err], if you prefer to read them that way.
32
33 ## The Rust Bookshelf
34
35 Rust provides a number of book-length sets of documentation, collectively
36 nicknamed 'The Rust Bookshelf.'
37
38 * [The Rust Programming Language][book] teaches you how to program in Rust.
39 * [The Rustonomicon][nomicon] is your guidebook to the dark arts of unsafe Rust.
40
41 [Rust Learning]: https://github.com/ctjhoa/rust-learning
42 [Docs.rs]: https://docs.rs/
43 [api]: std/index.html
44 [ref]: reference.html
45 [38643]: https://github.com/rust-lang/rust/issues/38643
46 [err]: error-index.html
47 [book]: book/index.html
48 [nomicon]: nomicon/index.html
49