File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
/// A quantile that has both the raw value and a human-friendly display label.
2
2
///
3
- /// We work with quantiles for optimal floating-point precison over percentiles, but most of the
3
+ /// We work with quantiles for optimal floating-point precision over percentiles, but most of the
4
4
/// time, monitoring systems show us percentiles, and usually in an abbreviated form: `p99`.
5
5
///
6
6
/// On top of holding the quantile value, we calculate the familiar "p99" style of label, doing the
Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ where
226
226
227
227
// SAFETY: We only ever hold a pointer to a borrowed value of at least the lifetime of
228
228
// `Self`, or an owned value which we have ownership of (albeit indirectly when using
229
- // `Arc<T>`), so our pointer is always valid and live for derefencing .
229
+ // `Arc<T>`), so our pointer is always valid and live for dereferencing .
230
230
unsafe { borrowed_ptr. as_ref ( ) . unwrap ( ) }
231
231
}
232
232
}
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ impl KeyName {
19
19
KeyName ( SharedString :: const_str ( name) )
20
20
}
21
21
22
- /// Gets a reference to the strin used for this name.
22
+ /// Gets a reference to the string used for this name.
23
23
pub fn as_str ( & self ) -> & str {
24
24
& self . 0
25
25
}
You can’t perform that action at this time.
0 commit comments