Skip to content

Commit a6b2d07

Browse files
committed
---
yaml --- r: 39902 b: refs/heads/dist-snap c: d81a7ab h: refs/heads/master v: v3
1 parent 5b8708b commit a6b2d07

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: a810c03263670238bccd64cabb12a23a46e3a278
99
refs/heads/incoming: e90142e536c150df0d9b4b2f11352152177509b5
10-
refs/heads/dist-snap: 056fc13e108a1b610661e0a1c617bda164370807
10+
refs/heads/dist-snap: d81a7aba3cc634ae11c412f528591a1647a02de1
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1313
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/doc/rust.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2886,10 +2886,10 @@ non-executing state (blocked, dead) similarly deschedules the task.
28862886
A call to `core::task::spawn`, passing a 0-argument function as its single
28872887
argument, causes the runtime to construct a new task executing the passed
28882888
function. The passed function is referred to as the _entry function_ for
2889-
the spawned task, and any captured environment is carries is moved from the
2889+
the spawned task, and any captured environment it carries is moved from the
28902890
spawning task to the spawned task before the spawned task begins execution.
28912891

2892-
The result of a `spawn` call is a `core::task::task` value.
2892+
The result of a `spawn` call is a `core::task::Task` value.
28932893

28942894
An example of a `spawn` call:
28952895

@@ -2938,16 +2938,20 @@ An example of a *receive*:
29382938
let s = comm::recv(po);
29392939
~~~~~~~~
29402940

2941+
Note: this communication system will be replaced by a higher-performance system called "pipes",
2942+
in future versions of Rust.
2943+
29412944

29422945
# Runtime services, linkage and debugging
29432946

29442947

2945-
The Rust _runtime_ is a relatively compact collection of C and Rust code
2948+
The Rust _runtime_ is a relatively compact collection of C++ and Rust code
29462949
that provides fundamental services and datatypes to all Rust tasks at
29472950
run-time. It is smaller and simpler than many modern language runtimes. It is
29482951
tightly integrated into the language's execution model of memory, tasks,
29492952
communication and logging.
29502953

2954+
Note: The runtime library will merge with the `core` library in future versions of Rust.
29512955

29522956
### Memory allocation
29532957

0 commit comments

Comments
 (0)