From 97367ddd17fa86498c1d8e6da520f6bd3ad79724 Mon Sep 17 00:00:00 2001 From: Wesley Bermbach Date: Tue, 15 Nov 2022 13:45:03 +0100 Subject: [PATCH] Fix doc comment for MustMakeExponentialDurationBuckets --- histogram.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/histogram.go b/histogram.go index 41491d9b..def11daa 100644 --- a/histogram.go +++ b/histogram.go @@ -373,7 +373,7 @@ func ExponentialDurationBuckets(start time.Duration, factor float64, n int) (Dur return buckets, nil } -// MustMakeExponentialDurationBuckets creates a set of exponential value buckets +// MustMakeExponentialDurationBuckets creates a set of exponential duration buckets // or panics. func MustMakeExponentialDurationBuckets(start time.Duration, factor float64, n int) DurationBuckets { buckets, err := ExponentialDurationBuckets(start, factor, n)