"Rust task" should be "Rust program" in the intro to the Memory Model docs

This commit is contained in:
Matt Brubeck 2012-01-19 21:28:01 -08:00
parent 183acc2466
commit 3276af7f24
1 changed files with 3 additions and 3 deletions

View File

@ -2851,9 +2851,9 @@ and lifetime semantics of the memory model.
## Memory model
A Rust [task](#tasks)'s memory consists of a static set of *items*, a set of
tasks each with its own *stack*, and a *heap*. Immutable portions of the heap
may be shared between tasks, mutable portions may not.
A Rust program's memory consists of a static set of *items*, a set of
[tasks](#tasks) each with its own *stack*, and a *heap*. Immutable portions of
the heap may be shared between tasks, mutable portions may not.
Allocations in the stack consist of *slots*, and allocations in the heap
consist of *boxes*.