Skip to content

Commit 75b138f

Browse files
committed
---
yaml --- r: 22096 b: refs/heads/snap-stage3 c: 3232e75 h: refs/heads/master v: v3
1 parent 0afd714 commit 75b138f

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: e430a699f2c60890d9b86069fd0c68a70ece7120
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 8f0e9ff02914459a98d1727f5bf0c26bba604bb9
4+
refs/heads/snap-stage3: 3232e7599566e896c9bfee4e4eba71e6963e3ce8
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/doc/tutorial.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -995,15 +995,6 @@ _owned boxes_. All tasks may allocate objects on the exchange heap,
995995
then transfer ownership of those objects to other tasks, avoiding
996996
expensive copies.
997997

998-
## What to be aware of
999-
1000-
Rust has three "realms" in which objects can be allocated: the stack,
1001-
the local heap, and the exchange heap. These realms have corresponding
1002-
pointer types: the borrowed pointer (`&T`), the managed box (`@T`),
1003-
and the owned box (`~T`). These three sigils will appear
1004-
repeatedly as we explore the language. Learning the appropriate role
1005-
of each is key to using Rust effectively.
1006-
1007998
# Boxes and pointers
1008999

10091000
In contrast to a lot of modern languages, aggregate types like structs

0 commit comments

Comments
 (0)