Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/common/src/rolling_total.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion backend/telemetry_core/src/state/counter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ impl<K> Counter<K>
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,
Expand Down