Skip to content

Commit 2cb1664

Browse files
committed
rustfmt: Run on sync/fairrwlock.rs
1 parent edcdc56 commit 2cb1664

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/sync/fairrwlock.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
use std::sync::{LockResult, RwLock, RwLockReadGuard, RwLockWriteGuard, TryLockResult};
2-
use std::sync::atomic::{AtomicUsize, Ordering};
31
use super::{LockHeldState, LockTestExt};
2+
use std::sync::atomic::{AtomicUsize, Ordering};
3+
use std::sync::{LockResult, RwLock, RwLockReadGuard, RwLockWriteGuard, TryLockResult};
44

55
/// Rust libstd's RwLock does not provide any fairness guarantees (and, in fact, when used on
66
/// Linux with pthreads under the hood, readers trivially and completely starve writers).

0 commit comments

Comments
 (0)