Skip to content

Commit d4e3d01

Browse files
committed
---
yaml --- r: 35807 b: refs/heads/try2 c: d81a7ab h: refs/heads/master i: 35805: 706842c 35803: cc835ed 35799: 3bb7995 35791: fc8ae87 35775: 832bbb7 v: v3
1 parent f62b9f5 commit d4e3d01

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
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 056fc13e108a1b610661e0a1c617bda164370807
8+
refs/heads/try2: d81a7aba3cc634ae11c412f528591a1647a02de1
99
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
1010
refs/heads/dist-snap: 22efa39382d41b084fde1719df7ae8ce5697d8c9
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try2/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)