diff --git a/maps/maps_test.go b/maps/maps_test.go index bf7c6f4bb..0f40eb747 100644 --- a/maps/maps_test.go +++ b/maps/maps_test.go @@ -83,7 +83,7 @@ func equalNaN[T comparable](v1, v2 T) bool { return v1 == v2 || (isNaN(v1) && isNaN(v2)) } -// equalStr compares ints and strings. +// equalIntStr compares ints and strings. func equalIntStr(v1 int, v2 string) bool { return strconv.Itoa(v1) == v2 } diff --git a/trace/order.go b/trace/order.go index 2e6d96c16..fec408793 100644 --- a/trace/order.go +++ b/trace/order.go @@ -1240,7 +1240,7 @@ func (s *rangeState) hasRange(typ rangeType) bool { return false } -// endsRange ends a special range in time on the goroutine. +// endRange ends a special range in time on the goroutine. // // This must line up with the start event type of the range the goroutine is currently in. func (s *rangeState) endRange(typ event.Type) (stringID, error) {