]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/task-comm-17.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / task-comm-17.rs
index e9f7cdf96a83a4a37a379d61cbf80d2e221fca9b..9db5465f7e96e77e03d0dbaa66fdb1490644f28b 100644 (file)
@@ -18,5 +18,5 @@ fn f() {
 }
 
 pub fn main() {
-    let _t = Thread::spawn(move|| f() ).join();
+    let _t = Thread::scoped(move|| f() ).join();
 }