diff options
Diffstat (limited to 'tests/panic.rs')
-rw-r--r-- | tests/panic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/panic.rs b/tests/panic.rs index f38fb3e..09ffb28 100644 --- a/tests/panic.rs +++ b/tests/panic.rs @@ -69,7 +69,7 @@ macro_rules! schedule { let guard = Guard(Box::new(0)); move |_runnable: Runnable| { - &guard; + let _ = &guard; $sched.fetch_add(1, Ordering::SeqCst); } }; |