]> git.lizzy.rs Git - rust.git/commitdiff
Fixed link
authorTim Montague <tim@timmontague.com>
Mon, 7 Mar 2016 18:30:25 +0000 (10:30 -0800)
committerTim Montague <tim@timmontague.com>
Mon, 7 Mar 2016 18:30:25 +0000 (10:30 -0800)
Changed "[vector]" to a link to the vector documentation.

src/doc/book/ownership.md

index 70d71c14ddf1686da0714ea4612285ac716181db..7f7f7d4c8ebdb87f37cfb0c8059fee086098e1e8 100644 (file)
@@ -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