Skip to content

Commit f54b767

Browse files
committed
tutorial: pointer -> box
1 parent 4d81137 commit f54b767

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,8 +1233,8 @@ avoiding expensive copies.
12331233
12341234
Rust has three "realms" in which objects can be allocated: the stack,
12351235
the local heap, and the exchange heap. These realms have corresponding
1236-
pointer types: the borrowed pointer (`&T`), the shared pointer (`@T`),
1237-
and the unique pointer (`~T`). These three sigils will appear
1236+
pointer types: the borrowed pointer (`&T`), the shared box (`@T`),
1237+
and the unique box (`~T`). These three sigils will appear
12381238
repeatedly as we explore the language. Learning the appropriate role
12391239
of each is key to using Rust effectively.
12401240

0 commit comments

Comments
 (0)