diff --git a/catalyst-gateway/bin/src/metrics/memory.rs b/catalyst-gateway/bin/src/metrics/memory.rs index 28603a27428..98f13ae5b24 100644 --- a/catalyst-gateway/bin/src/metrics/memory.rs +++ b/catalyst-gateway/bin/src/metrics/memory.rs @@ -19,7 +19,7 @@ lazy_static::lazy_static! { static ref GLOBAL_METRICS: Arc> = Arc::new(Mutex::new(MemoryMetrics::default())); } -/// This is to prevent the init function from accidentially being called multiple times. +/// This is to prevent the init function from accidentally being called multiple times. static IS_INITIALIZED: AtomicBool = AtomicBool::new(false); /// Interval for updating memory metrics, in milliseconds.