diff options
| author | Eric Holk <eric.holk@gmail.com> | 2012-05-22 14:10:32 -0700 |
|---|---|---|
| committer | Eric Holk <eric.holk@gmail.com> | 2012-05-22 14:10:32 -0700 |
| commit | 0b2f2cabbe3fbe6e18cbf0f8a174b7d4789fc938 (patch) | |
| tree | ce84fbb044a908ff5c98fd1fa0e6990159126177 /src/libcore | |
| parent | f213c1f3a817ba2c0a43c0b27215146b7a279f65 (diff) | |
| download | rust-0b2f2cabbe3fbe6e18cbf0f8a174b7d4789fc938.tar.gz rust-0b2f2cabbe3fbe6e18cbf0f8a174b7d4789fc938.zip | |
Send is no longer a subkind of copy. This allows for sendable, but non-copyable resources. Closes #2420.
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/future.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/future.rs b/src/libcore/future.rs index ba11138d9ae..e0321b45287 100644 --- a/src/libcore/future.rs +++ b/src/libcore/future.rs @@ -28,7 +28,7 @@ enum future<A> = { }; #[doc = "Methods on the `future` type"] -impl future<A:send> for future<A> { +impl future<A:copy send> for future<A> { fn get() -> A { #[doc = "Get the value of the future"]; |
