File tree 1 file changed +1
-3
lines changed
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -293,8 +293,6 @@ impl<T: Counter> Histogram<T> {
293
293
// ********************************************************************************************
294
294
295
295
/// Find the bucket the given value should be placed in.
296
- ///
297
- /// May panic if the given value falls outside the current range of the histogram.
298
296
fn index_for ( & self , value : u64 ) -> usize {
299
297
let bucket_index = self . bucket_for ( value) ;
300
298
let sub_bucket_index = self . sub_bucket_for ( value, bucket_index) ;
@@ -1104,7 +1102,7 @@ impl<T: Counter> Histogram<T> {
1104
1102
/// Get the count of recorded values at a specific value (to within the histogram resolution at
1105
1103
/// the value level).
1106
1104
///
1107
- /// The count is cumputed across values recorded in the histogram that are within the value
1105
+ /// The count is computed across values recorded in the histogram that are within the value
1108
1106
/// range that is `>= lowest_equivalent(value)` and `<= highest_equivalent(value)`.
1109
1107
///
1110
1108
/// May fail if the given value is out of bounds.
You can’t perform that action at this time.
0 commit comments