about summary refs log tree commit diff
path: root/doc/tutorial.md
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-01-07 15:46:38 -0800
committerbors <bors@rust-lang.org>2014-01-07 15:46:38 -0800
commitaa1839bd693176f03f372fb34baa7b19b5030af7 (patch)
tree69f44afa082eac21d5984f2ddf21226b27d4b7d2 /doc/tutorial.md
parent4329fc6730e381b3b06f9987327072c50a739ad4 (diff)
parent280553c98842c62b5addc6c0ae444a0ec21ee530 (diff)
downloadrust-aa1839bd693176f03f372fb34baa7b19b5030af7.tar.gz
rust-aa1839bd693176f03f372fb34baa7b19b5030af7.zip
auto merge of #11364 : brson/rust/docs, r=alexcrichton
This reorganizes the documentation index to be more focused on the in-tree docs, and to clean up the style, and it also adds @steveklabnik's pointer guide.
Diffstat (limited to 'doc/tutorial.md')
-rw-r--r--doc/tutorial.md15
1 files changed, 8 insertions, 7 deletions
diff --git a/doc/tutorial.md b/doc/tutorial.md
index 067282c12cd..3d8b2c8877b 100644
--- a/doc/tutorial.md
+++ b/doc/tutorial.md
@@ -1423,10 +1423,8 @@ intuitive sense: you must wait for a borrowed value to be returned
 (that is, for the borrowed pointer to go out of scope) before you can
 make full use of it again.
 
-For a more in-depth explanation of borrowed pointers, read the
-[borrowed pointer tutorial][borrowtut].
-
-[borrowtut]: tutorial-borrowed-ptr.html
+For a more in-depth explanation of borrowed pointers and lifetimes, read the
+[lifetimes and borrowed pointer tutorial][lifetimes].
 
 ## Freezing
 
@@ -3269,7 +3267,8 @@ re-export a bunch of 'officially blessed' crates that get managed with `rustpkg`
 Now that you know the essentials, check out any of the additional
 guides on individual topics.
 
-* [Borrowed pointers][borrow]
+* [Pointers][pointers]
+* [Lifetimes][lifetimes]
 * [Tasks and communication][tasks]
 * [Macros][macros]
 * [The foreign function interface][ffi]
@@ -3279,9 +3278,10 @@ guides on individual topics.
 * [Documenting Rust code][rustdoc]
 * [Testing Rust code][testing]
 
-There is further documentation on the [Main Page](index.html).
+There is further documentation on the [wiki], however those tend to be even more out of date as this document.
 
-[borrow]: guide-borrowed-ptr.html
+[pointers]: guide-pointers.html
+[lifetimes]: guide-lifetimes.html
 [tasks]: guide-tasks.html
 [macros]: guide-macros.html
 [ffi]: guide-ffi.html
@@ -3290,5 +3290,6 @@ There is further documentation on the [Main Page](index.html).
 [rustpkg]: guide-rustpkg.html
 [testing]: guide-testing.html
 [rustdoc]: rustdoc.html
+[wiki]: https://github.com/mozilla/rust/wiki/Docs
 
 [wiki-packages]: https://github.com/mozilla/rust/wiki/Doc-packages,-editors,-and-other-tools