chore: fix some function names in comment

Signed-off-by: jingchanglu <jingchanglu@outlook.com>
This commit is contained in:
jingchanglu 2025-07-10 14:43:25 +08:00
parent b18272a572
commit 9ddb21fccb
2 changed files with 3 additions and 3 deletions

View file

@ -975,7 +975,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 (j 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" : {