rust/src/doc/trpl
Manish Goregaokar 4faf0befaa Rollup merge of #24042 - callahad:bug_24030, r=steveklabnik
Fixes #24030

Of the four code samples with modules in TRPL:

    - 2 use `mod test`
    - 2 use `mod tests`

We should be consistent here, but which is right? The stdlib is split:

    $ grep -r 'mod tests {' src/lib* | wc -l
          63
    $ grep -r 'mod test {'  src/lib* | wc -l
          58

Subjectively, I like the plural, but both the language reference and the
style guide recommend the singular. So we'll go with that here, for now.

r? @steveklabnik
2015-04-07 18:12:32 +05:30
..
advanced-macros.md New section of the book: nightly rust 2015-03-26 11:42:45 -04:00
advanced.md
arrays-vectors-and-slices.md Remove about standard io chapter from the book (from arrays-vectors-and-slices chapter) 2015-03-29 23:26:31 +03:00
associated-types.md Fix some typos 2015-03-28 18:09:51 +03:00
basic.md book: there is no guessing game anymore, so remove references to it 2015-03-27 01:35:50 +02:00
benchmark-tests.md book: use mod test consistently 2015-04-03 22:48:00 -05:00
box-syntax-and-patterns.md Moved use of box_syntax unstable feature in docs to Unstable section. 2015-04-01 21:53:37 -04:00
closures.md Alignment nitpick 2015-04-04 20:34:59 -04:00
comments.md
compound-data-types.md book: there is no guessing game anymore, so remove references to it 2015-03-27 01:35:50 +02:00
conclusion.md
concurrency.md Fix doc (fixup #24031) 2015-04-04 12:50:43 +05:30
crates-and-modules.md Book: sync ‘Crates and Modules’ with current output 2015-04-02 23:18:47 +02:00
documentation.md Auto merge of #23830 - petrochenkov:spellcheck, r=steveklabnik 2015-03-29 22:39:46 +00:00
error-handling.md Fix rust book error-handling.md for new std::io. 2015-04-01 09:37:19 +03:00
ffi.md rollup merge of #23741: alexcrichton/remove-int-uint 2015-03-27 10:10:05 -07:00
functions.md
generics.md
glossary.md Add AST to the glossary 2015-03-20 10:55:51 -04:00
hello-cargo.md
hello-world.md
if.md
inline-assembly.md New section of the book: nightly rust 2015-03-26 11:42:45 -04:00
installing-rust.md Update Rust install instructions in TRPL 2015-04-03 19:09:41 -04:00
intermediate.md
intrinsics.md New section of the book: nightly rust 2015-03-26 11:42:45 -04:00
iterators.md doc/trpl: Fixing a comma splice in iterators.md. 2015-04-02 20:02:57 -04:00
lang-items.md Test fixes and rebase conflicts, round 1 2015-03-27 11:29:36 -07:00
link-args.md New section of the book: nightly rust 2015-03-26 11:42:45 -04:00
looping.md doc: change 0u32..10 to 0..10 2015-03-26 13:24:20 -06:00
macros.md std: Remove #[old_orphan_check] from PartialEq 2015-03-31 13:39:14 -07:00
match.md
method-syntax.md Fixing copy/paste typo. 2015-04-03 11:17:15 -07:00
more-strings.md Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
no-stdlib.md Test fixes and rebase conflicts, round 1 2015-03-27 11:29:36 -07:00
ownership.md Fix spelling 2015-03-31 17:44:45 -04:00
patterns.md Feature gate *all* slice patterns. #23121 2015-03-27 12:50:49 -07:00
plugins.md New section of the book: nightly rust 2015-03-26 11:42:45 -04:00
pointers.md Moved use of box_syntax unstable feature in docs to Unstable section. 2015-04-01 21:53:37 -04:00
README.md Documentation fix 2015-04-05 02:56:16 -04:00
static-and-dynamic-dispatch.md
strings.md
SUMMARY.md Moved use of box_syntax unstable feature in docs to Unstable section. 2015-04-01 21:53:37 -04:00
testing.md book: use mod test consistently 2015-04-03 22:48:00 -05:00
tracing-macros.md Test fixes and rebase conflicts, round 1 2015-03-27 11:29:36 -07:00
traits.md Add description of + for multiple trait bounds 2015-03-31 19:45:09 -04:00
unsafe.md New section of the book: nightly rust 2015-03-26 11:42:45 -04:00
unstable.md Update Rust install instructions in TRPL 2015-04-03 19:09:41 -04:00
variable-bindings.md

% The Rust Programming Language

Welcome! This book will teach you about the Rust Programming Language. Rust is a modern systems programming language focusing on safety and speed. It accomplishes these goals by being memory safe without using garbage collection.

"The Rust Programming Language" is split into three sections, which you can navigate through the menu on the left.

Basics

This section is a linear introduction to the basic syntax and semantics of Rust. It has individual sections on each part of Rust's syntax.

After reading "Basics," you will have a good foundation to learn more about Rust, and can write very simple programs.

Intermediate

This section contains individual chapters, which are self-contained. They focus on specific topics, and can be read in any order.

After reading "Intermediate," you will have a solid understanding of Rust, and will be able to understand most Rust code and write more complex programs.

Advanced

In a similar fashion to "Intermediate," this section is full of individual, deep-dive chapters, which stand alone and can be read in any order. These chapters focus on Rust's most complex features.

Unstable

In a similar fashion to "Intermediate," this section is full of individual, deep-dive chapters, which stand alone and can be read in any order.

This chapter contains things that are only available on the nightly channel of Rust.