about summary refs log tree commit diff
path: root/src/libstd/task
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/task')
-rw-r--r--src/libstd/task/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/task/mod.rs b/src/libstd/task/mod.rs
index 74e1af540c0..b1439fd763d 100644
--- a/src/libstd/task/mod.rs
+++ b/src/libstd/task/mod.rs
@@ -680,7 +680,7 @@ fn test_rekillable_not_nested() {
         // receiving anything since
         // this block should be nested
         // into a unkillable block.
-        yield();
+        deschedule();
     }
 }