terminology: &T and &mut T are the types of *references*. Also, stress the exclusivit...
[rust-101.git] / src / main.rs
index e1e4a6466db063d392893bd3753f7b099e1ba535..9b7132d59862ca852ab558bd6f9a86bb90c00eec 100644 (file)
@@ -28,7 +28,9 @@
 // a garbage collector) or vice versa. Rust can run without dynamic allocation (i.e., without
 // a heap), and even without an operating system. In fact, Rust rules out more classes of bugs
 // than languages that achieve safety with a garbage collector: Besides dangling pointers and
-// double-free, Rust also prevents issues such as iterator invalidation and data races.
+// double-free, Rust also prevents issues such as iterator invalidation and data races. Finally,
+// it cleans up behind you, and deallocates resources (memory, but also file descriptors and really
+// anything) when you don't need them anymore.
 // 
 // 
 // Getting started
@@ -63,7 +65,7 @@
 // 
 // ### Basic Rust
 // 
-// * [Part 04: Ownership, Borrowing](part04.html)
+// * [Part 04: Ownership, Borrowing, References](part04.html)
 // * [Part 05: Clone](part05.html)
 // * [Part 06: Copy, Lifetimes](part06.html)
 // * [Part 07: Operator Overloading, Tests, Formating](part07.html)