diff options
| author | Christian Cunningham <c@localhost> | 2022-08-26 19:48:31 -0700 |
|---|---|---|
| committer | Christian Cunningham <c@localhost> | 2022-08-26 19:48:31 -0700 |
| commit | 7a0781efd95a2a40942821724d94dd876e7fc874 (patch) | |
| tree | 06e7e85b1e15bcbf51c4b364cfcd2f5d529b337f /src/sync.rs | |
| parent | 4b940520d5395ceb73ba3cb9706fc89039708626 (diff) | |
*cargo fmt
Diffstat (limited to 'src/sync.rs')
| -rw-r--r-- | src/sync.rs | 2 |
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 } } |
