tutorial: pointer -> box

This commit is contained in:
Brian Anderson 2012-07-09 11:44:45 -07:00
parent 4d8113725d
commit f54b767013
1 changed files with 2 additions and 2 deletions

View File

@ -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.