rust/src/doc/book
Guillaume Gomez 47ef866f43 Rollup merge of #34328 - wuranbo:patch-1, r=steveklabnik
Traits where syntax's extra usage example more clearly

r? @steveklabnik
2016-06-28 16:05:13 +02:00
..
advanced-linking.md Rename main thread from "<main>" to "main". 2016-05-22 22:42:10 +08:00
associated-constants.md src/doc/trpl -> src/doc/book 2015-11-19 11:30:18 -05:00
associated-types.md Book: Fix phrasing: “an associated type” → “a trait with an associated type”. 2016-03-30 19:34:53 +02:00
attributes.md src/doc/trpl -> src/doc/book 2015-11-19 11:30:18 -05:00
benchmark-tests.md src/doc/trpl -> src/doc/book 2015-11-19 11:30:18 -05:00
bibliography.md Add Alexis thesis to bibliography 2016-01-20 19:27:05 +00:00
borrow-and-asref.md src/doc/trpl -> src/doc/book 2015-11-19 11:30:18 -05:00
box-syntax-and-patterns.md src/doc/trpl -> src/doc/book 2015-11-19 11:30:18 -05:00
casting-between-types.md Clarify wording in transmute example 2016-05-19 13:12:11 -07:00
choosing-your-guarantees.md Fix a few links in the book 2016-06-01 16:53:14 +01:00
closures.md Book: fixed syntax coloring 2016-06-04 14:03:34 -06:00
comments.md src/doc/trpl -> src/doc/book 2015-11-19 11:30:18 -05:00
compiler-plugins.md Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
concurrency.md Rust syntax coloring for some ignore, should-panic and no-run snippets. 2016-05-18 11:30:50 -06:00
conditional-compilation.md src/doc/trpl -> src/doc/book 2015-11-19 11:30:18 -05:00
const-and-static.md docs: Highlight a keyword 2016-04-21 09:53:30 +08:00
crates-and-modules.md Book: diagram takes less space and it's more symmetric. 2016-06-04 14:04:17 -06:00
custom-allocators.md Remove many instances of 'just' 2016-01-09 14:03:58 -05:00
deref-coercions.md src/doc/trpl -> src/doc/book 2015-11-19 11:30:18 -05:00
documentation.md Fix a few links in the book 2016-06-01 16:53:14 +01:00
drop.md Docs: some tiny corrections 2016-03-24 14:49:40 +08:00
effective-rust.md Be consistent about what is a "chapter" versus a "section" 2016-01-06 16:06:55 -08:00
enums.md Remove unused link from enums.md 2016-01-09 12:17:44 +03:00
error-handling.md Remove a gotcha from book/error-handling.md 2016-06-07 02:48:20 +03:00
ffi.md Rust syntax coloring for some ignore, should-panic and no-run snippets. 2016-05-18 11:30:50 -06:00
functions.md Add missing space before parenthesis. 2016-06-05 14:41:42 -04:00
generics.md Remove many instances of 'just' 2016-01-09 14:03:58 -05:00
getting-started.md Add armv7-linux-androideabi target. 2016-05-07 13:29:57 +03:00
glossary.md src/doc/trpl -> src/doc/book 2015-11-19 11:30:18 -05:00
guessing-game.md Rename main thread from "<main>" to "main". 2016-05-22 22:42:10 +08:00
if-let.md Shifted focus of while-let example per review. 2015-11-27 10:23:58 -06:00
if.md Fix minor typos in doc.rust-lang.org/book 2016-03-12 12:35:34 -08:00
inline-assembly.md Rust syntax coloring for some ignore, should-panic and no-run snippets. 2016-05-18 11:30:50 -06:00
intrinsics.md src/doc/trpl -> src/doc/book 2015-11-19 11:30:18 -05:00
iterators.md document inclusive range syntax 2016-02-27 02:01:41 -05:00
lang-items.md Synthesize calls to box_free language item 2016-02-04 15:56:01 +02:00
lifetimes.md Opening sentence was confusing and something cannot be "one of the most unique" (it either is or is not unique). 2016-04-19 12:39:31 -04:00
loops.md typo fix in loops.md 2016-06-11 20:46:23 -07:00
macros.md Rust syntax coloring for some ignore, should-panic and no-run snippets. 2016-05-18 11:30:50 -06:00
match.md Remove trailing whitespace at the end of lines 2016-03-22 19:31:39 +02:00
method-syntax.md Remove many instances of 'just' 2016-01-09 14:03:58 -05:00
mutability.md Clarified that let(mut x, y) = only makes x mutable, not y 2016-05-18 17:43:22 +01:00
nightly-rust.md Remove many instances of 'just' 2016-01-09 14:03:58 -05:00
no-stdlib.md Adding sections and brief explanation of libc 2016-06-07 10:59:47 -07:00
operators-and-overloading.md Rust syntax coloring for some ignore, should-panic and no-run snippets. 2016-05-18 11:30:50 -06:00
ownership.md book: ownership: fix typo 2016-05-19 20:14:29 -05:00
patterns.md Switched tense to clarify what is happening in the example 2016-06-23 06:20:29 +10:00
primitive-types.md fix typo in primitive-types section on slices 2016-06-11 20:31:01 -07:00
raw-pointers.md src/doc/trpl -> src/doc/book 2015-11-19 11:30:18 -05:00
README.md Be consistent about what is a "chapter" versus a "section" 2016-01-06 16:06:55 -08:00
references-and-borrowing.md doc: Fix typo 2016-06-13 21:35:37 +03:00
release-channels.md src/doc/trpl -> src/doc/book 2015-11-19 11:30:18 -05:00
slice-patterns.md fix tests 2016-06-09 00:38:38 +03:00
strings.md Rename main thread from "<main>" to "main". 2016-05-22 22:42:10 +08:00
structs.md Remove many instances of 'just' 2016-01-09 14:03:58 -05:00
SUMMARY.md Make book ordering more natural 2016-03-01 19:50:11 -05:00
syntax-and-semantics.md Be consistent about what is a "chapter" versus a "section" 2016-01-06 16:06:55 -08:00
syntax-index.md Rollup merge of #32092 - bluss:operator-overload, r=steveklabnik 2016-03-08 21:44:11 +03:00
testing.md Rollup merge of #34060 - JDemler:master, r=steveklabnik 2016-06-07 10:43:56 -04:00
the-stack-and-the-heap.md Book: small improvement to a table to make it clearer 2016-05-19 11:05:13 -06:00
trait-objects.md Rust syntax coloring for some ignore, should-panic and no-run snippets. 2016-05-18 11:30:50 -06:00
traits.md Traits where syntax's extra usage example more clearly 2016-06-17 22:54:06 +08:00
type-aliases.md book: Provide link to tuple structs in type aliases chapter 2015-12-02 10:47:53 +06:00
ufcs.md src/doc/trpl -> src/doc/book 2015-11-19 11:30:18 -05:00
unsafe.md grammar: 'fewer' instead of 'less' 2016-03-01 08:42:34 -05:00
unsized-types.md Wording changes 2016-05-20 17:47:34 -07:00
using-rust-without-the-standard-library.md Fix a few links in the book 2016-06-01 16:53:14 +01:00
variable-bindings.md Rollup merge of #34125 - MichaelNecio:book_addition, r=steveklabnik 2016-06-07 10:43:58 -04:00
vectors.md Auto merge of #33803 - WiSaGaN:feature/rename-main-thread, r=alexcrichton 2016-06-03 19:36:32 -07:00

% The Rust Programming Language

Welcome! This book will teach you about the Rust Programming Language. Rust is a systems programming language focused on three goals: safety, speed, and concurrency. It maintains these goals without having a garbage collector, making it a useful language for a number of use cases other languages arent good at: embedding in other languages, programs with specific space and time requirements, and writing low-level code, like device drivers and operating systems. It improves on current languages targeting this space by having a number of compile-time safety checks that produce no runtime overhead, while eliminating all data races. Rust also aims to achieve zero-cost abstractions even though some of these abstractions feel like those of a high-level language. Even then, Rust still allows precise control like a low-level language would.

“The Rust Programming Language” is split into chapters. This introduction is the first. After this:

Contributing

The source files from which this book is generated can be found on GitHub.