aboutsummaryrefslogtreecommitdiff
path: root/tests/sharded_lock.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sharded_lock.rs')
-rw-r--r--tests/sharded_lock.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sharded_lock.rs b/tests/sharded_lock.rs
index b4b8565..d999008 100644
--- a/tests/sharded_lock.rs
+++ b/tests/sharded_lock.rs
@@ -148,7 +148,7 @@ fn arc() {
fn arc_access_in_unwind() {
let arc = Arc::new(ShardedLock::new(1));
let arc2 = arc.clone();
- let _ = thread::spawn(move || -> () {
+ let _ = thread::spawn(move || {
struct Unwinder {
i: Arc<ShardedLock<isize>>,
}