提交 150b1c92 编写于 作者: T Tim Montague

Fixed link

Changed "[vector]" to a link to the vector documentation.
上级 2f34986e
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册