Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-j97 committed Jun 9, 2024
1 parent fd95de1 commit 15014eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/segment/gc_stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ pub struct GcStats {
impl GcStats {
pub fn set_stale_items(&self, x: u64) {
self.stale_items
.store(x, std::sync::atomic::Ordering::Release)
.store(x, std::sync::atomic::Ordering::Release);
}

pub fn set_stale_bytes(&self, x: u64) {
self.stale_bytes
.store(x, std::sync::atomic::Ordering::Release)
.store(x, std::sync::atomic::Ordering::Release);
}

/// Returns the amount of dead items in the segment
Expand Down

0 comments on commit 15014eb

Please sign in to comment.