From e2e9a4da8d076db5b6023dbdf2ed7f0cf08469e5 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Mon, 21 Dec 2015 17:46:02 +0000 Subject: [PATCH] rebuild pages at 7e8d920 --- advanced-type-system-features.html | 2 +- arc.html | 2 +- associated-types.html | 2 +- basic-collections.html | 2 +- basic-data-types.html | 2 +- basics.html | 117 --------------------------- bindings-to-c.html | 2 +- box.html | 2 +- cargo.html | 2 +- cell.html | 2 +- channels.html | 2 +- closures.html | 2 +- coherence.html | 2 +- comments.html | 2 +- concurrency.html | 2 +- conditional-compilation.html | 2 +- crates-and-modules.html | 2 +- cratesio.html | 2 +- deref-coercions.html | 2 +- deref.html | 2 +- design.html | 2 +- enums.html | 2 +- env.html | 2 +- error-handling.html | 2 +- ffi.html | 2 +- fs.html | 2 +- functions.html | 2 +- hashmap.html | 2 +- hello-world.html | 2 +- if.html | 2 +- index.html | 2 +- installation.html | 2 +- interior-mutability.html | 2 +- introduction.html | 2 +- io.html | 2 +- iterators.html | 2 +- lifetimes.html | 2 +- loops.html | 2 +- macros.html | 2 +- mutex.html | 2 +- nightly-rust.html | 2 +- ownership-and-borrowing.html | 2 +- ownership.html | 2 +- path.html | 2 +- primitive-rust.html | 117 +++++++++++++++++++++++++++ primitive-types.html | 2 +- print.html | 4 +- raw-pointers.html | 2 +- rc.html | 2 +- read-and-write.html | 2 +- refcell.html | 2 +- references-and-borrowing.html | 2 +- send-and-sync.html | 2 +- smart-pointers.html | 2 +- static.html | 2 +- strings.html | 2 +- structs.html | 2 +- testing.html | 2 +- threads.html | 2 +- trait-objects.html | 2 +- traits.html | 2 +- transmute.html | 2 +- tutorial.html | 6 +- ufcs.html | 2 +- unsafe-rust.html | 2 +- using-rust-from-other-languages.html | 2 +- variable-bindings.html | 6 +- vectors.html | 2 +- 68 files changed, 188 insertions(+), 188 deletions(-) delete mode 100644 basics.html create mode 100644 primitive-rust.html diff --git a/advanced-type-system-features.html b/advanced-type-system-features.html index 4d81e7f64..cf47f1ad7 100644 --- a/advanced-type-system-features.html +++ b/advanced-type-system-features.html @@ -45,7 +45,7 @@
diff --git a/arc.html b/arc.html index 1ec2a33ba..0c250a9c6 100644 --- a/arc.html +++ b/arc.html @@ -45,7 +45,7 @@
diff --git a/associated-types.html b/associated-types.html index 8b8423b66..4b5c4007b 100644 --- a/associated-types.html +++ b/associated-types.html @@ -45,7 +45,7 @@
diff --git a/basic-collections.html b/basic-collections.html index f51bcfd97..e68b020ef 100644 --- a/basic-collections.html +++ b/basic-collections.html @@ -45,7 +45,7 @@
diff --git a/basic-data-types.html b/basic-data-types.html index 147f64bcb..4d573271d 100644 --- a/basic-data-types.html +++ b/basic-data-types.html @@ -45,7 +45,7 @@
diff --git a/basics.html b/basics.html deleted file mode 100644 index 31a89f21c..000000000 --- a/basics.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - -
-

The Basics

-

We’ll start our journey with Rust by talking about the absolute basics. -Many programming languages have lots in common at their core. -Much of this may feel similar to other languages you’ve used, but some parts are different. -If you want to skip this section, you can, but you may end up coming back later to find out small details. -These foundations will be in every single useful Rust program, and learning them gives us a strong core to start from.

- -
- - - - - - - - - - -
- - - - - - - - - -
- - - - - - - - - diff --git a/bindings-to-c.html b/bindings-to-c.html index b79f51f98..143cdb0f4 100644 --- a/bindings-to-c.html +++ b/bindings-to-c.html @@ -45,7 +45,7 @@
diff --git a/box.html b/box.html index bfe2b0f90..f7ae49565 100644 --- a/box.html +++ b/box.html @@ -45,7 +45,7 @@
diff --git a/cargo.html b/cargo.html index b5438ce02..1e056638f 100644 --- a/cargo.html +++ b/cargo.html @@ -45,7 +45,7 @@
diff --git a/cell.html b/cell.html index b6347edb4..b2653dc8b 100644 --- a/cell.html +++ b/cell.html @@ -45,7 +45,7 @@
diff --git a/channels.html b/channels.html index a79d18f48..404292244 100644 --- a/channels.html +++ b/channels.html @@ -45,7 +45,7 @@
diff --git a/closures.html b/closures.html index b69f5fe79..1b7f73cbf 100644 --- a/closures.html +++ b/closures.html @@ -45,7 +45,7 @@
diff --git a/coherence.html b/coherence.html index a88d7a353..7a4a95696 100644 --- a/coherence.html +++ b/coherence.html @@ -45,7 +45,7 @@
diff --git a/comments.html b/comments.html index f742bbcfc..28b4bb9ec 100644 --- a/comments.html +++ b/comments.html @@ -45,7 +45,7 @@
diff --git a/concurrency.html b/concurrency.html index 87f459d0c..5fd23f204 100644 --- a/concurrency.html +++ b/concurrency.html @@ -45,7 +45,7 @@
diff --git a/conditional-compilation.html b/conditional-compilation.html index 091b01c0a..3d647dd2c 100644 --- a/conditional-compilation.html +++ b/conditional-compilation.html @@ -45,7 +45,7 @@
diff --git a/crates-and-modules.html b/crates-and-modules.html index b2695fc6e..f31e94d96 100644 --- a/crates-and-modules.html +++ b/crates-and-modules.html @@ -45,7 +45,7 @@
diff --git a/cratesio.html b/cratesio.html index 75e0e49d6..5d04ffe3e 100644 --- a/cratesio.html +++ b/cratesio.html @@ -45,7 +45,7 @@
diff --git a/deref-coercions.html b/deref-coercions.html index 4ed49b829..8c8669e6b 100644 --- a/deref-coercions.html +++ b/deref-coercions.html @@ -45,7 +45,7 @@
diff --git a/deref.html b/deref.html index e95bf5c1c..e8ca06f48 100644 --- a/deref.html +++ b/deref.html @@ -45,7 +45,7 @@
diff --git a/design.html b/design.html index fabdb6241..e24c24d02 100644 --- a/design.html +++ b/design.html @@ -45,7 +45,7 @@
diff --git a/enums.html b/enums.html index e312b2b80..2f0091d08 100644 --- a/enums.html +++ b/enums.html @@ -45,7 +45,7 @@
diff --git a/env.html b/env.html index 01931b5e8..ebebf117c 100644 --- a/env.html +++ b/env.html @@ -45,7 +45,7 @@
diff --git a/error-handling.html b/error-handling.html index 58758fd32..74c620a9c 100644 --- a/error-handling.html +++ b/error-handling.html @@ -45,7 +45,7 @@
diff --git a/ffi.html b/ffi.html index 66f6cca77..b808e6824 100644 --- a/ffi.html +++ b/ffi.html @@ -45,7 +45,7 @@
diff --git a/fs.html b/fs.html index 7fc8012c3..b279a3a8d 100644 --- a/fs.html +++ b/fs.html @@ -45,7 +45,7 @@
diff --git a/functions.html b/functions.html index a0d8dcc46..fb2c017b8 100644 --- a/functions.html +++ b/functions.html @@ -45,7 +45,7 @@
diff --git a/hashmap.html b/hashmap.html index 3044a407e..62be45a2d 100644 --- a/hashmap.html +++ b/hashmap.html @@ -45,7 +45,7 @@
diff --git a/hello-world.html b/hello-world.html index 1f0ccf657..521927fbf 100644 --- a/hello-world.html +++ b/hello-world.html @@ -45,7 +45,7 @@
diff --git a/if.html b/if.html index 8d6f9163f..0a39c7948 100644 --- a/if.html +++ b/if.html @@ -45,7 +45,7 @@
diff --git a/index.html b/index.html index f3678d88e..1facce720 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -

Introduction

Welcome to “The Rust Programming Language,” an introductory book about Rust.Rust is a programming language that’s focused on safety, concurrency, andspeed. It maintains these goals without having a garbage collector, making it auseful language for a number of use cases other languages aren’t good at:embedding in other languages, programs with specific space and timerequirements, and writing low-level code, like device drivers and operatingsystems. It improves on current languages targeting this space by having anumber of compile-time safety checks that produce no runtime overhead, whileeliminating all data races. Rust also aims to achieve ‘zero-cost abstractions’even though some of these abstractions feel like those of a high-levellanguage. Even then, Rust still allows precise control like a low-levellanguage would.

This book is written for a reader who already knows how to program in at leastone programming language. Which language that is does not matter very much,though you may have an easier time if you’ve programmed in a low-level languagewith manual memory allocation.

After reading this book, you should be comfortable writing Rust programs. We’llbe learning Rust through small, focused examples that demonstrate each topic.The chapters build upon each other, so if you skip ahead, you may have to skipback to refer to a previous concept.

Contributing to the book

This book is open source. If you find an error, please don’t hesitate to file anissue or send a pull request on GitHub.

\ No newline at end of file +

Introduction

Welcome to “The Rust Programming Language,” an introductory book about Rust.Rust is a programming language that’s focused on safety, concurrency, andspeed. It maintains these goals without having a garbage collector, making it auseful language for a number of use cases other languages aren’t good at:embedding in other languages, programs with specific space and timerequirements, and writing low-level code, like device drivers and operatingsystems. It improves on current languages targeting this space by having anumber of compile-time safety checks that produce no runtime overhead, whileeliminating all data races. Rust also aims to achieve ‘zero-cost abstractions’even though some of these abstractions feel like those of a high-levellanguage. Even then, Rust still allows precise control like a low-levellanguage would.

This book is written for a reader who already knows how to program in at leastone programming language. Which language that is does not matter very much,though you may have an easier time if you’ve programmed in a low-level languagewith manual memory allocation.

After reading this book, you should be comfortable writing Rust programs. We’llbe learning Rust through small, focused examples that demonstrate each topic.The chapters build upon each other, so if you skip ahead, you may have to skipback to refer to a previous concept.

Contributing to the book

This book is open source. If you find an error, please don’t hesitate to file anissue or send a pull request on GitHub.

\ No newline at end of file diff --git a/installation.html b/installation.html index 5fc3a95a7..b4f9e7088 100644 --- a/installation.html +++ b/installation.html @@ -45,7 +45,7 @@
diff --git a/interior-mutability.html b/interior-mutability.html index 15bc8e65a..c09048710 100644 --- a/interior-mutability.html +++ b/interior-mutability.html @@ -45,7 +45,7 @@
diff --git a/introduction.html b/introduction.html index 3ae54c931..717525ab2 100644 --- a/introduction.html +++ b/introduction.html @@ -45,7 +45,7 @@
diff --git a/io.html b/io.html index 415766377..20d1721dd 100644 --- a/io.html +++ b/io.html @@ -45,7 +45,7 @@
diff --git a/iterators.html b/iterators.html index 838ab4e1c..577e134c4 100644 --- a/iterators.html +++ b/iterators.html @@ -45,7 +45,7 @@
diff --git a/lifetimes.html b/lifetimes.html index 16c807b92..887c4195f 100644 --- a/lifetimes.html +++ b/lifetimes.html @@ -45,7 +45,7 @@
diff --git a/loops.html b/loops.html index aadf60a9e..8c02ca958 100644 --- a/loops.html +++ b/loops.html @@ -45,7 +45,7 @@
diff --git a/macros.html b/macros.html index 0aa9948d6..69c8d30e0 100644 --- a/macros.html +++ b/macros.html @@ -45,7 +45,7 @@
diff --git a/mutex.html b/mutex.html index 794277f16..22d7ed239 100644 --- a/mutex.html +++ b/mutex.html @@ -45,7 +45,7 @@
diff --git a/nightly-rust.html b/nightly-rust.html index 3f87ef66a..8b2a0a0b5 100644 --- a/nightly-rust.html +++ b/nightly-rust.html @@ -45,7 +45,7 @@
diff --git a/ownership-and-borrowing.html b/ownership-and-borrowing.html index ae8329764..97430de7a 100644 --- a/ownership-and-borrowing.html +++ b/ownership-and-borrowing.html @@ -45,7 +45,7 @@
diff --git a/ownership.html b/ownership.html index 2483e986f..0e4d93d4d 100644 --- a/ownership.html +++ b/ownership.html @@ -45,7 +45,7 @@
diff --git a/path.html b/path.html index 29df0a5fb..b0d75d5db 100644 --- a/path.html +++ b/path.html @@ -45,7 +45,7 @@
diff --git a/primitive-rust.html b/primitive-rust.html new file mode 100644 index 000000000..4e4f5fb95 --- /dev/null +++ b/primitive-rust.html @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+

Primitive Rust

+

We’ll start our journey with Rust by talking about the absolute basics. +Many programming languages have lots in common at their core. +Much of this may feel similar to other languages you’ve used, but some parts are different. +If you want to skip this section, you can, but you may end up coming back later to find out small details. +These foundations will be in every single useful Rust program, and learning them gives us a strong core to start from.

+ +
+ + + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + diff --git a/primitive-types.html b/primitive-types.html index 7a0c373f0..d70f4128c 100644 --- a/primitive-types.html +++ b/primitive-types.html @@ -45,7 +45,7 @@
diff --git a/print.html b/print.html index 298b6e32e..abfc0242b 100644 --- a/print.html +++ b/print.html @@ -45,7 +45,7 @@
@@ -429,7 +429,7 @@ guide, which covers all of its features.

The Design of Rust

Tutorial

-

The Basics

+

Primitive Rust

We’ll start our journey with Rust by talking about the absolute basics. Many programming languages have lots in common at their core. Much of this may feel similar to other languages you’ve used, but some parts are different. diff --git a/raw-pointers.html b/raw-pointers.html index 00aa34b63..7495fa5cf 100644 --- a/raw-pointers.html +++ b/raw-pointers.html @@ -45,7 +45,7 @@

diff --git a/rc.html b/rc.html index 590c948ce..c13569ef8 100644 --- a/rc.html +++ b/rc.html @@ -45,7 +45,7 @@
diff --git a/read-and-write.html b/read-and-write.html index a07606ad5..b47e151b1 100644 --- a/read-and-write.html +++ b/read-and-write.html @@ -45,7 +45,7 @@
diff --git a/refcell.html b/refcell.html index 3da2cfaa9..5abfebe82 100644 --- a/refcell.html +++ b/refcell.html @@ -45,7 +45,7 @@
diff --git a/references-and-borrowing.html b/references-and-borrowing.html index a5628e71f..4c51eeb27 100644 --- a/references-and-borrowing.html +++ b/references-and-borrowing.html @@ -45,7 +45,7 @@
diff --git a/send-and-sync.html b/send-and-sync.html index 1917302ce..26cd337e6 100644 --- a/send-and-sync.html +++ b/send-and-sync.html @@ -45,7 +45,7 @@
diff --git a/smart-pointers.html b/smart-pointers.html index 7c84a39ca..c3681cb5a 100644 --- a/smart-pointers.html +++ b/smart-pointers.html @@ -45,7 +45,7 @@
diff --git a/static.html b/static.html index 9f56c17b8..b8fed6ac9 100644 --- a/static.html +++ b/static.html @@ -45,7 +45,7 @@
diff --git a/strings.html b/strings.html index 34ef168c4..c32389ea0 100644 --- a/strings.html +++ b/strings.html @@ -45,7 +45,7 @@
diff --git a/structs.html b/structs.html index 935680619..a54d0146c 100644 --- a/structs.html +++ b/structs.html @@ -45,7 +45,7 @@
diff --git a/testing.html b/testing.html index e9d74a09d..7d41a7f28 100644 --- a/testing.html +++ b/testing.html @@ -45,7 +45,7 @@
diff --git a/threads.html b/threads.html index 625206b86..4dbff105a 100644 --- a/threads.html +++ b/threads.html @@ -45,7 +45,7 @@
diff --git a/trait-objects.html b/trait-objects.html index 1963a0de7..784cdab03 100644 --- a/trait-objects.html +++ b/trait-objects.html @@ -45,7 +45,7 @@
diff --git a/traits.html b/traits.html index 2620bfdf6..c948d3f51 100644 --- a/traits.html +++ b/traits.html @@ -45,7 +45,7 @@
diff --git a/transmute.html b/transmute.html index 24ab80448..63971290a 100644 --- a/transmute.html +++ b/transmute.html @@ -45,7 +45,7 @@
diff --git a/tutorial.html b/tutorial.html index 9c01ffd65..7425e6c0e 100644 --- a/tutorial.html +++ b/tutorial.html @@ -45,7 +45,7 @@
@@ -77,7 +77,7 @@ - @@ -91,7 +91,7 @@ - diff --git a/ufcs.html b/ufcs.html index 13837f2ea..235deb916 100644 --- a/ufcs.html +++ b/ufcs.html @@ -45,7 +45,7 @@
diff --git a/unsafe-rust.html b/unsafe-rust.html index 222081abf..9b654d004 100644 --- a/unsafe-rust.html +++ b/unsafe-rust.html @@ -45,7 +45,7 @@
diff --git a/using-rust-from-other-languages.html b/using-rust-from-other-languages.html index e53cca2b9..4e098980e 100644 --- a/using-rust-from-other-languages.html +++ b/using-rust-from-other-languages.html @@ -45,7 +45,7 @@
diff --git a/variable-bindings.html b/variable-bindings.html index 234802c10..4b616fd0a 100644 --- a/variable-bindings.html +++ b/variable-bindings.html @@ -45,7 +45,7 @@
@@ -523,7 +523,7 @@ After shadowing, x is: 5 - @@ -537,7 +537,7 @@ After shadowing, x is: 5
- diff --git a/vectors.html b/vectors.html index 2497ab53d..137c8b9c5 100644 --- a/vectors.html +++ b/vectors.html @@ -45,7 +45,7 @@