about summary refs log tree commit diff
path: root/src/test/run-pass/spawning-with-debug.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/spawning-with-debug.rs')
-rw-r--r--src/test/run-pass/spawning-with-debug.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/spawning-with-debug.rs b/src/test/run-pass/spawning-with-debug.rs
index ea594977f90..858b7a83c62 100644
--- a/src/test/run-pass/spawning-with-debug.rs
+++ b/src/test/run-pass/spawning-with-debug.rs
@@ -17,5 +17,5 @@ use std::thread::Builder;
 
 pub fn main() {
     let mut t = Builder::new();
-    t.spawn(move|| ()).detach();
+    t.spawn(move|| ());
 }