summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}
}