Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
iambriccardo committed Aug 13, 2024
1 parent 8ab9e49 commit 9dfeac4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions relay-server/src/utils/memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ struct Inner {
refresh_frequency_ms: u64,
}

/// Wrapper around [`Inner`] which hides the [`Arc`] and exposes utils method to make working with
/// Wrapper which hides the [`Arc`] and exposes utils method to make working with
/// [`MemoryStat`] as opaque as possible.
#[derive(Clone)]
pub struct MemoryStat(Arc<Inner>);
Expand All @@ -77,7 +77,7 @@ impl MemoryStat {
}))
}

/// Returns a copy of the most up to date [`Memory`] data.
/// Returns a copy of the most up-to-date memory data.
pub fn memory(&self) -> Memory {
self.try_update();
**self.0.memory.load()
Expand Down

0 comments on commit 9dfeac4

Please sign in to comment.