提交 f54b7670 编写于 作者: B Brian Anderson

tutorial: pointer -> box

上级 4d811372
......@@ -1233,8 +1233,8 @@ avoiding expensive copies.
Rust has three "realms" in which objects can be allocated: the stack,
the local heap, and the exchange heap. These realms have corresponding
pointer types: the borrowed pointer (`&T`), the shared pointer (`@T`),
and the unique pointer (`~T`). These three sigils will appear
pointer types: the borrowed pointer (`&T`), the shared box (`@T`),
and the unique box (`~T`). These three sigils will appear
repeatedly as we explore the language. Learning the appropriate role
of each is key to using Rust effectively.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册