@@ -2886,10 +2886,10 @@ non-executing state (blocked, dead) similarly deschedules the task.
2886
2886
A call to ` core::task::spawn ` , passing a 0-argument function as its single
2887
2887
argument, causes the runtime to construct a new task executing the passed
2888
2888
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
2890
2890
spawning task to the spawned task before the spawned task begins execution.
2891
2891
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.
2893
2893
2894
2894
An example of a ` spawn ` call:
2895
2895
@@ -2938,16 +2938,20 @@ An example of a *receive*:
2938
2938
let s = comm::recv(po);
2939
2939
~~~~~~~~
2940
2940
2941
+ Note: this communication system will be replaced by a higher-performance system called "pipes",
2942
+ in future versions of Rust.
2943
+
2941
2944
2942
2945
# Runtime services, linkage and debugging
2943
2946
2944
2947
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
2946
2949
that provides fundamental services and datatypes to all Rust tasks at
2947
2950
run-time. It is smaller and simpler than many modern language runtimes. It is
2948
2951
tightly integrated into the language's execution model of memory, tasks,
2949
2952
communication and logging.
2950
2953
2954
+ Note: The runtime library will merge with the ` core ` library in future versions of Rust.
2951
2955
2952
2956
### Memory allocation
2953
2957
0 commit comments