about summary refs log tree commit diff
path: root/src/libstd/uv_iotask.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/uv_iotask.rs')
-rw-r--r--src/libstd/uv_iotask.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/uv_iotask.rs b/src/libstd/uv_iotask.rs
index 2414b1f9bfa..522a613f02d 100644
--- a/src/libstd/uv_iotask.rs
+++ b/src/libstd/uv_iotask.rs
@@ -188,7 +188,7 @@ extern fn tear_down_walk_cb(handle: *libc::c_void, arg: *libc::c_void) {
     // pretty much, if we still have an active handle and it is *not*
     // the async handle that facilities global loop communication, we
     // want to barf out and fail
-    assert handle == arg;
+    fail_unless!(handle == arg);
 }
 
 extern fn tear_down_close_cb(handle: *ll::uv_async_t) {