summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cunningham <c@localhost>2022-08-26 19:48:31 -0700
committerChristian Cunningham <c@localhost>2022-08-26 19:48:31 -0700
commit7a0781efd95a2a40942821724d94dd876e7fc874 (patch)
tree06e7e85b1e15bcbf51c4b364cfcd2f5d529b337f
parent4b940520d5395ceb73ba3cb9706fc89039708626 (diff)
*cargo fmt
-rw-r--r--src/sync.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sync.rs b/src/sync.rs
index d41d849..2fa3a21 100644
--- a/src/sync.rs
+++ b/src/sync.rs
@@ -128,7 +128,7 @@ impl<T> interface::Mutex for SpinLock<T> {
let res = f(data);
// Release the lock after finished with the underlying data
- self.lock.store(false, Ordering::SeqCst);
+ self.lock.store(false, Ordering::SeqCst);
res
}
}