about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2016-03-08 21:44:11 +0300
committerSteve Klabnik <steve@steveklabnik.com>2016-03-08 21:44:11 +0300
commitbf9610ddbbe0161b7c94a9f909f99906682df540 (patch)
treed001461380a3bdfdba95887f8416db54a0129bdd /src/doc
parent13ba07b85499fcb6548969c60f887086867009ba (diff)
parent150b1c9217023174f94aebe461f5ba4434533680 (diff)
downloadrust-bf9610ddbbe0161b7c94a9f909f99906682df540.tar.gz
rust-bf9610ddbbe0161b7c94a9f909f99906682df540.zip
Rollup merge of #32103 - timmontague:patch-1, r=alexcrichton
Fixed link in ownership documentation

Changed "[vector]" to a link to the vector documentation.
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/book/ownership.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/ownership.md b/src/doc/book/ownership.md
index 70d71c14ddf..7f7f7d4c8eb 100644
--- a/src/doc/book/ownership.md
+++ b/src/doc/book/ownership.md
@@ -51,7 +51,7 @@ fn foo() {
 }
 ```
 
-When `v` comes into scope, a new [vector] is created on [the stack][stack],
+When `v` comes into scope, a new [vector][vectors] is created on [the stack][stack],
 and it allocates space on [the heap][heap] for its elements. When `v` goes out
 of scope at the end of `foo()`, Rust will clean up everything related to the
 vector, even the heap-allocated memory. This happens deterministically, at the