]> git.proxmox.com Git - rustc.git/blobdiff - vendor/crossbeam-utils/src/atomic/seq_lock_wide.rs
New upstream version 1.44.1+dfsg1
[rustc.git] / vendor / crossbeam-utils / src / atomic / seq_lock_wide.rs
index 090a849bd88c16a8a29706de44fcbbcafcd3b6bc..857c074f59d5a25f9a01a0f20ed40e8f835b36b7 100644 (file)
@@ -121,7 +121,9 @@ impl Drop for SeqLockWriteGuard {
         // Release ordering for synchronizing with `optimistic_read`.
         if state_lo == 0 {
             let state_hi = self.lock.state_hi.load(Ordering::Relaxed);
-            self.lock.state_hi.store(state_hi.wrapping_add(1), Ordering::Release);
+            self.lock
+                .state_hi
+                .store(state_hi.wrapping_add(1), Ordering::Release);
         }
 
         // Release the lock and increment the stamp.