diff --git a/backend/common/src/rolling_total.rs b/backend/common/src/rolling_total.rs index b9caf9f5a..3f5c81f14 100644 --- a/backend/common/src/rolling_total.rs +++ b/backend/common/src/rolling_total.rs @@ -50,7 +50,7 @@ impl RollingTotalBuilder { /// Set the size of the window of time that we'll look back on /// to sum up values over to give us the current total. The size - /// is set as a multiple of the granularity; a granulatiry of 1s + /// is set as a multiple of the granularity; a granularity of 1s /// and a size of 10 means the window size will be 10 seconds. pub fn window_size_multiple(mut self, val: usize) -> Self { self.window_size_multiple = val; diff --git a/backend/telemetry_core/src/state/counter.rs b/backend/telemetry_core/src/state/counter.rs index cc1f474c4..49ea45752 100644 --- a/backend/telemetry_core/src/state/counter.rs +++ b/backend/telemetry_core/src/state/counter.rs @@ -39,7 +39,7 @@ impl Counter where K: Sized + std::hash::Hash + Eq, { - /// Either adds or removes a single occurence of a given `key`. + /// Either adds or removes a single occurrence of a given `key`. pub fn modify<'a, Q>(&mut self, key: Option<&'a Q>, op: CounterValue) where Q: ?Sized + std::hash::Hash + Eq,