diff options
Diffstat (limited to 'doc/tutorial.md')
| -rw-r--r-- | doc/tutorial.md | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/doc/tutorial.md b/doc/tutorial.md index 731e7311ce3..ade15ebbc13 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -995,15 +995,6 @@ _owned boxes_. All tasks may allocate objects on the exchange heap, then transfer ownership of those objects to other tasks, avoiding expensive copies. -## What to be aware of - -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 managed box (`@T`), -and the owned 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. - # Boxes and pointers In contrast to a lot of modern languages, aggregate types like structs |
