Skip to content

Commit 3276af7

Browse files
committed
"Rust task" should be "Rust program" in the intro to the Memory Model docs
1 parent 183acc2 commit 3276af7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/rust.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2851,9 +2851,9 @@ and lifetime semantics of the memory model.
28512851

28522852
## Memory model
28532853

2854-
A Rust [task](#tasks)'s memory consists of a static set of *items*, a set of
2855-
tasks each with its own *stack*, and a *heap*. Immutable portions of the heap
2856-
may be shared between tasks, mutable portions may not.
2854+
A Rust program's memory consists of a static set of *items*, a set of
2855+
[tasks](#tasks) each with its own *stack*, and a *heap*. Immutable portions of
2856+
the heap may be shared between tasks, mutable portions may not.
28572857

28582858
Allocations in the stack consist of *slots*, and allocations in the heap
28592859
consist of *boxes*.

0 commit comments

Comments
 (0)