Removed all references to managed closures.

This commit is contained in:
Christopher Kendell 2014-04-03 15:48:32 -07:00
parent 3137cd5af6
commit be07cab2cf

View file

@ -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