about summary refs log tree commit diff
path: root/src/libstd/future.rs
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2013-05-08 22:44:43 -0400
committerDaniel Micay <danielmicay@gmail.com>2013-05-09 14:00:53 -0400
commit2bc12635a24abf710304c06a91dbf3709cba8fd4 (patch)
treecd71da4f973f0702a6211db63b6aa5f66c1f2cb8 /src/libstd/future.rs
parentd82d9874a6f88e0afa021796e9efaba5b3670c31 (diff)
downloadrust-2bc12635a24abf710304c06a91dbf3709cba8fd4.tar.gz
rust-2bc12635a24abf710304c06a91dbf3709cba8fd4.zip
remove vecs_implicitly_copyable from libstd/libcore
Diffstat (limited to 'src/libstd/future.rs')
-rw-r--r--src/libstd/future.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/future.rs b/src/libstd/future.rs
index 37eb1e02a80..b1b2fa2cd28 100644
--- a/src/libstd/future.rs
+++ b/src/libstd/future.rs
@@ -238,8 +238,8 @@ mod test {
 
     #[test]
     fn test_sendable_future() {
-        let expected = ~"schlorf";
-        let f = Cell(do spawn { copy expected });
+        let expected = "schlorf";
+        let f = Cell(do spawn { expected });
         do task::spawn {
             let mut f = f.take();
             let actual = f.get();