File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: e430a699f2c60890d9b86069fd0c68a70ece7120
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 8f0e9ff02914459a98d1727f5bf0c26bba604bb9
4
+ refs/heads/snap-stage3: 3232e7599566e896c9bfee4e4eba71e6963e3ce8
5
5
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change @@ -995,15 +995,6 @@ _owned boxes_. All tasks may allocate objects on the exchange heap,
995
995
then transfer ownership of those objects to other tasks, avoiding
996
996
expensive copies.
997
997
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
-
1007
998
# Boxes and pointers
1008
999
1009
1000
In contrast to a lot of modern languages, aggregate types like structs
You can’t perform that action at this time.
0 commit comments