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 @@ -295,8 +295,6 @@ impl<T: Counter> Histogram<T> {
295
295
// ********************************************************************************************
296
296
297
297
/// Find the bucket the given value should be placed in.
298
- ///
299
- /// May panic if the given value falls outside the current range of the histogram.
300
298
fn index_for ( & self , value : u64 ) -> usize {
301
299
let bucket_index = self . bucket_for ( value) ;
302
300
let sub_bucket_index = self . sub_bucket_for ( value, bucket_index) ;
@@ -1110,7 +1108,7 @@ impl<T: Counter> Histogram<T> {
1110
1108
/// Get the count of recorded values at a specific value (to within the histogram resolution at
1111
1109
/// the value level).
1112
1110
///
1113
- /// The count is cumputed across values recorded in the histogram that are within the value
1111
+ /// The count is computed across values recorded in the histogram that are within the value
1114
1112
/// range that is `>= lowest_equivalent(value)` and `<= highest_equivalent(value)`.
1115
1113
///
1116
1114
/// May fail if the given value is out of bounds.
You can’t perform that action at this time.
0 commit comments