Removed all references to managed closures.
This commit is contained in:
parent
3137cd5af6
commit
be07cab2cf
1 changed files with 3 additions and 3 deletions
|
@ -1774,8 +1774,8 @@ pervasively in Rust code.
|
||||||
|
|
||||||
Owned closures, written `proc`,
|
Owned closures, written `proc`,
|
||||||
hold on to things that can safely be sent between
|
hold on to things that can safely be sent between
|
||||||
processes. They copy the values they close over, much like managed
|
processes. They copy the values they close over,
|
||||||
closures, but they also own them: that is, no other code can access
|
but they also own them: that is, no other code can access
|
||||||
them. Owned closures are used in concurrent code, particularly
|
them. Owned closures are used in concurrent code, particularly
|
||||||
for spawning [tasks][tasks].
|
for spawning [tasks][tasks].
|
||||||
|
|
||||||
|
@ -2087,7 +2087,7 @@ and may not be overridden:
|
||||||
|
|
||||||
* `Send` - Sendable types.
|
* `Send` - Sendable types.
|
||||||
Types are sendable
|
Types are sendable
|
||||||
unless they contain managed closures or references.
|
unless they contain references.
|
||||||
|
|
||||||
* `Share` - Types that are *threadsafe*
|
* `Share` - Types that are *threadsafe*
|
||||||
These are types that are safe to be used across several threads with access to
|
These are types that are safe to be used across several threads with access to
|
||||||
|
|
Loading…
Add table
Reference in a new issue