summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorEric Holk <eric.holk@gmail.com>2012-05-22 14:10:32 -0700
committerEric Holk <eric.holk@gmail.com>2012-05-22 14:10:32 -0700
commit0b2f2cabbe3fbe6e18cbf0f8a174b7d4789fc938 (patch)
treece84fbb044a908ff5c98fd1fa0e6990159126177 /src/libcore
parentf213c1f3a817ba2c0a43c0b27215146b7a279f65 (diff)
downloadrust-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.rs2
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"];