]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/issue-13494.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / issue-13494.rs
index b9339c1cc0d03ad030a746487036669e53b173bb..bef0ff5fc2cd2551c94124bc44696c44e61d7140 100644 (file)
@@ -22,7 +22,7 @@ fn helper(rx: Receiver<Sender<()>>) {
 
 fn main() {
     let (tx, rx) = channel();
-    let _t = Thread::spawn(move|| { helper(rx) }).detach();
+    let _t = Thread::spawn(move|| { helper(rx) });
     let (snd, rcv) = channel::<int>();
     for _ in range(1i, 100000i) {
         snd.send(1i).unwrap();