We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f34986 commit 150b1c9Copy full SHA for 150b1c9
src/doc/book/ownership.md
@@ -51,7 +51,7 @@ fn foo() {
51
}
52
```
53
54
-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],
55
and it allocates space on [the heap][heap] for its elements. When `v` goes out
56
of scope at the end of `foo()`, Rust will clean up everything related to the
57
vector, even the heap-allocated memory. This happens deterministically, at the
0 commit comments