Merge pull request #16851 from jingchanglu/main

chore: fix some function names in comment
This commit is contained in:
Bryan Boreham 2025-09-30 12:54:48 +01:00 committed by GitHub
commit 7056c70647
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -998,7 +998,7 @@ func (h *FloatHistogram) floatBucketIterator(
return i
}
// reverseFloatBucketIterator is a low-level constructor for reverse bucket iterators.
// newReverseFloatBucketIterator is a low-level constructor for reverse bucket iterators.
func newReverseFloatBucketIterator(
spans []Span, buckets []float64, schema int32, positive bool, customValues []float64,
) reverseFloatBucketIterator {

View File

@ -51,7 +51,7 @@ func (JSONCodec) Encode(resp *Response) ([]byte, error) {
return json.Marshal(resp)
}
// marshalSeriesJSON writes something like the following:
// unsafeMarshalSeriesJSON writes something like the following:
//
// {
// "metric" : {
@ -108,7 +108,7 @@ func neverEmpty(unsafe.Pointer) bool {
return false
}
// marshalSampleJSON writes something like the following for normal value samples:
// unsafeMarshalSampleJSON writes something like the following for normal value samples:
//
// {
// "metric" : {