Skip to content

Commit 01b9cc5

Browse files
committed
Auto merge of #28269 - petrochenkov:docorder, r=steveklabnik
This is what I was talking about in #26462 (comment) r? @steveklabnik
2 parents a269e31 + c34f350 commit 01b9cc5

File tree

1 file changed

+19
-17
lines changed

1 file changed

+19
-17
lines changed

src/doc/index.md

+19-17
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,30 @@ series of small examples.
2020

2121
[rbe]: http://rustbyexample.com/
2222

23-
# The Standard Library
23+
# Language Reference
24+
25+
Rust does not have an exact specification yet, but an effort to describe as much of
26+
the language in as much detail as possible is in [the reference](reference.html).
27+
28+
# Standard Library Reference
2429

2530
We have [API documentation for the entire standard
2631
library](std/index.html). There's a list of crates on the left with more
2732
specific sections, or you can use the search bar at the top to search for
2833
something if you know its name.
2934

35+
# Tools
36+
37+
[Cargo](https://crates.io) is the Rust's package manager providing access to libraries
38+
beyond the standard one, and its website contains lots of good documentation.
39+
40+
[`rustdoc`](book/documentation.html) is the Rust's documentation generator, a tool converting
41+
annotated source code into HTML docs.
42+
43+
A bunch of non-official tools are available, such as [Racer](https://github.com/phildawes/racer)
44+
(code completion engine), or [rustfmt](https://github.com/nrc/rustfmt) (source code formatter),
45+
or text editor plugins.
46+
3047
# Community & Getting Help
3148

3249
If you need help with something, or just want to talk about Rust with others,
@@ -54,25 +71,10 @@ There is an active [subreddit](https://reddit.com/r/rust) with lots of
5471
discussion and news about Rust.
5572

5673
There is also a [user forum](https://users.rust-lang.org), for all
57-
user-oriented discussion, and a [developer
74+
user-oriented discussion, and a [developer
5875
forum](https://internals.rust-lang.org/), where the development of Rust
5976
itself is discussed.
6077

61-
# Specification
62-
63-
Rust does not have an exact specification, but an effort to describe as much of
64-
the language in as much detail as possible is in [the reference](reference.html).
65-
66-
# Tools
67-
68-
Rust is still a young language, so there isn't a ton of tooling yet, but the
69-
tools we have are really nice.
70-
71-
[Cargo](https://crates.io) is Rust's package manager, and its website contains
72-
lots of good documentation.
73-
74-
[`rustdoc`](book/documentation.html) is used to generate documentation for Rust code.
75-
7678
# FAQs
7779

7880
There are questions that are asked quite often, so we've made FAQs for them:

0 commit comments

Comments
 (0)