about summary refs log tree commit diff
path: root/doc/tutorial/data.md
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2012-01-10 19:41:57 -0800
committerNiko Matsakis <niko@alum.mit.edu>2012-01-10 19:57:00 -0800
commitef895b96320a9d5c64090bad1c8a147b0431eef1 (patch)
tree416e6d05266fe8d3afcb199024121f0c61e8aa0a /doc/tutorial/data.md
parent441a42c5d2707ae93a8be3c6be5c426e7416e50b (diff)
downloadrust-ef895b96320a9d5c64090bad1c8a147b0431eef1.tar.gz
rust-ef895b96320a9d5c64090bad1c8a147b0431eef1.zip
update various parts of the tutorial
Diffstat (limited to 'doc/tutorial/data.md')
-rw-r--r--doc/tutorial/data.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/tutorial/data.md b/doc/tutorial/data.md
index 661fb2f0c6d..1906aac05f4 100644
--- a/doc/tutorial/data.md
+++ b/doc/tutorial/data.md
@@ -188,6 +188,8 @@ All pointer types can be dereferenced with the `*` unary operator.
 
 ### Shared boxes
 
+<a name="shared-box"></a>
+
 Shared boxes are pointers to heap-allocated, reference counted memory.
 A cycle collector ensures that circular references do not result in
 memory leaks.
@@ -207,6 +209,8 @@ Shared boxes never cross task boundaries.
 
 ### Unique boxes
 
+<a name="unique-box"></a>
+
 In contrast to shared boxes, unique boxes are not reference counted.
 Instead, it is statically guaranteed that only a single owner of the
 box exists at any time.