From 71751350b0de7e090d76c9ea54fa9ceeeef6709a Mon Sep 17 00:00:00 2001 From: cuishuang Date: Sun, 2 Jun 2024 00:51:35 +0800 Subject: all: make function comments match function names Change-Id: Ideb9ef00e7bc660b005fc080973fd9f3d36c5a1f Reviewed-on: https://go-review.googlesource.com/c/go/+/589536 TryBot-Result: Gopher Robot Reviewed-by: Michael Knyszek Run-TryBot: shuang cui LUCI-TryBot-Result: Go LUCI Auto-Submit: Ian Lance Taylor Reviewed-by: Ian Lance Taylor --- src/internal/trace/order.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/internal/trace') diff --git a/src/internal/trace/order.go b/src/internal/trace/order.go index 9765df6177..4b3b8029fd 100644 --- a/src/internal/trace/order.go +++ b/src/internal/trace/order.go @@ -1262,7 +1262,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) { -- cgit v1.3-6-g1900