summaryrefslogtreecommitdiffstats
path: root/tokio/tests/task_local_set.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio/tests/task_local_set.rs')
-rw-r--r--tokio/tests/task_local_set.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/tests/task_local_set.rs b/tokio/tests/task_local_set.rs
index f5014275..e7cce3aa 100644
--- a/tokio/tests/task_local_set.rs
+++ b/tokio/tests/task_local_set.rs
@@ -22,7 +22,7 @@ fn acquire_mutex_in_drop() {
local.spawn_local(async move {
let _ = rx1.await;
- let _ = tx2.send(()).unwrap();
+ tx2.send(()).unwrap();
unreachable!();
});