Skip to content

Commit 13a9304

Browse files
committed
Run fmt
1 parent f69e1bf commit 13a9304

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

db4-storage/src/pages/node_store.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -634,11 +634,7 @@ impl<NS: NodeSegmentOps<Extension = EXT>, EXT: PersistenceStrategy> NodeStorageI
634634
/// Atomically increments `counter` and returns the previous value, but only if the result stays
635635
/// within bounds.
636636
/// If the result exceeds `limit`, leaves the counter unchanged and returns `None`.
637-
pub fn increment_and_clamp(
638-
counter: &AtomicU32,
639-
increment: u32,
640-
limit: u32,
641-
) -> Option<u32> {
637+
pub fn increment_and_clamp(counter: &AtomicU32, increment: u32, limit: u32) -> Option<u32> {
642638
counter
643639
.fetch_update(
644640
std::sync::atomic::Ordering::Relaxed,

0 commit comments

Comments
 (0)