From 7feac2669ce67ce3689fc3d605c690944d6841aa Mon Sep 17 00:00:00 2001 From: tgolang Date: Tue, 23 Apr 2024 16:12:02 +0800 Subject: [PATCH] chore: fix some typos in comments Signed-off-by: tgolang --- backend/common/src/rolling_total.rs | 6 +++--- backend/telemetry_core/src/state/counter.rs | 2 +- backend/telemetry_core/tests/e2e_tests.rs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/backend/common/src/rolling_total.rs b/backend/common/src/rolling_total.rs index b9caf9f5a..3fc7bce49 100644 --- a/backend/common/src/rolling_total.rs +++ b/backend/common/src/rolling_total.rs @@ -50,14 +50,14 @@ 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; self } - /// What is the granulatiry of our windows of time. For example, a + /// What is the granularity of our windows of time. For example, a /// granularity of 5 seconds means that every 5 seconds the window /// that we look at shifts forward to the next 5 seconds worth of data. /// A larger granularity is more efficient but less accurate than a @@ -69,7 +69,7 @@ impl RollingTotalBuilder { } impl RollingTotalBuilder