rust/src/doc/trpl
bors c897ac04e2 Auto merge of #24177 - alexcrichton:rustdoc, r=aturon
This commit series starts out with more official test harness support for rustdoc tests, and then each commit afterwards adds a test (where appropriate). Each commit should also test and finish independently of all others (they're all pretty separable).

I've uploaded a [copy of the documentation](http://people.mozilla.org/~acrichton/doc/std/) generated after all these commits were applied, and a double check on issues being closed would be greatly appreciated! I'll also browse the docs a bit and make sure nothing regressed too horribly.
2015-04-10 16:18:44 +00:00
..
arrays.md Import real content. 2015-04-07 22:16:02 -04:00
associated-types.md Import real content. 2015-04-07 22:16:02 -04:00
attributes.md Import real content. 2015-04-07 22:16:02 -04:00
benchmark-tests.md Import real content. 2015-04-07 22:16:02 -04:00
box-syntax-and-patterns.md Import real content. 2015-04-07 22:16:02 -04:00
casting-between-types.md Import real content. 2015-04-07 22:16:02 -04:00
closures.md Import real content. 2015-04-07 22:16:02 -04:00
comments.md Import real content. 2015-04-07 22:16:02 -04:00
compiler-plugins.md Import real content. 2015-04-07 22:16:02 -04:00
concurrency.md Import real content. 2015-04-07 22:16:02 -04:00
conditional-compilation.md Import real content. 2015-04-07 22:16:02 -04:00
const.md Import real content. 2015-04-07 22:16:02 -04:00
crates-and-modules.md Import real content. 2015-04-07 22:16:02 -04:00
debug-and-display.md Import real content. 2015-04-07 22:16:02 -04:00
deref-coercions.md Import real content. 2015-04-07 22:16:02 -04:00
documentation.md Import real content. 2015-04-07 22:16:02 -04:00
drop.md Import real content. 2015-04-07 22:16:02 -04:00
effective-rust.md Import real content. 2015-04-07 22:16:02 -04:00
enums.md Import real content. 2015-04-07 22:16:02 -04:00
error-handling.md Import real content. 2015-04-07 22:16:02 -04:00
ffi.md Import real content. 2015-04-07 22:16:02 -04:00
for-loops.md Import real content. 2015-04-07 22:16:02 -04:00
functions.md Import real content. 2015-04-07 22:16:02 -04:00
generics.md Import real content. 2015-04-07 22:16:02 -04:00
getting-started.md Import real content. 2015-04-07 22:16:02 -04:00
glossary.md Import real content. 2015-04-07 22:16:02 -04:00
hello-cargo.md Import real content. 2015-04-07 22:16:02 -04:00
hello-world.md Import real content. 2015-04-07 22:16:02 -04:00
if.md Import real content. 2015-04-07 22:16:02 -04:00
inline-assembly.md Import real content. 2015-04-07 22:16:02 -04:00
installing-rust.md Import real content. 2015-04-07 22:16:02 -04:00
intrinsics.md Import real content. 2015-04-07 22:16:02 -04:00
iterators.md Import real content. 2015-04-07 22:16:02 -04:00
lang-items.md Import real content. 2015-04-07 22:16:02 -04:00
learn-rust.md Import real content. 2015-04-07 22:16:02 -04:00
lifetimes.md Import real content. 2015-04-07 22:16:02 -04:00
link-args.md Import real content. 2015-04-07 22:16:02 -04:00
macros.md Import real content. 2015-04-07 22:16:02 -04:00
match.md Import real content. 2015-04-07 22:16:02 -04:00
method-syntax.md Import real content. 2015-04-07 22:16:02 -04:00
move-semantics.md Import real content. 2015-04-07 22:16:02 -04:00
mutability.md Import real content. 2015-04-07 22:16:02 -04:00
nightly-rust.md Import real content. 2015-04-07 22:16:02 -04:00
no-stdlib.md Import real content. 2015-04-07 22:16:02 -04:00
operators-and-overloading.md Import real content. 2015-04-07 22:16:02 -04:00
ownership.md Import real content. 2015-04-07 22:16:02 -04:00
patterns.md Import real content. 2015-04-07 22:16:02 -04:00
primitive-types.md Import real content. 2015-04-07 22:16:02 -04:00
README.md Documentation fix 2015-04-05 02:56:16 -04:00
references-and-borrowing.md Import real content. 2015-04-07 22:16:02 -04:00
slices.md Import real content. 2015-04-07 22:16:02 -04:00
static.md Import real content. 2015-04-07 22:16:02 -04:00
strings.md Import real content. 2015-04-07 22:16:02 -04:00
structs.md Import real content. 2015-04-07 22:16:02 -04:00
SUMMARY.md Import real content. 2015-04-07 22:16:02 -04:00
syntax-and-semantics.md Import real content. 2015-04-07 22:16:02 -04:00
testing.md Import real content. 2015-04-07 22:16:02 -04:00
the-stack-and-the-heap.md Import real content. 2015-04-07 22:16:02 -04:00
trait-objects.md Import real content. 2015-04-07 22:16:02 -04:00
traits.md Import real content. 2015-04-07 22:16:02 -04:00
tuple-structs.md Import real content. 2015-04-07 22:16:02 -04:00
tuples.md Import real content. 2015-04-07 22:16:02 -04:00
type-aliases.md Import real content. 2015-04-07 22:16:02 -04:00
ufcs.md Import real content. 2015-04-07 22:16:02 -04:00
unsafe-code.md Import real content. 2015-04-07 22:16:02 -04:00
unsized-types.md Import real content. 2015-04-07 22:16:02 -04:00
variable-bindings.md Import real content. 2015-04-07 22:16:02 -04:00
vectors.md Import real content. 2015-04-07 22:16:02 -04:00
while-loops.md Import real content. 2015-04-07 22:16:02 -04:00

% 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.