From 8270b858ee8744e5b7584b49ae6ed93aa975c8bc Mon Sep 17 00:00:00 2001 From: Sean Liao Date: Tue, 29 Apr 2025 16:54:06 +0100 Subject: testing: use more doc links Change-Id: Ide372735165b7510fd8d7588451a37fa743e59c1 Reviewed-on: https://go-review.googlesource.com/c/go/+/668915 LUCI-TryBot-Result: Go LUCI Commit-Queue: Alan Donovan Reviewed-by: Alan Donovan Auto-Submit: Alan Donovan Reviewed-by: Carlos Amedee --- src/testing/allocs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/testing/allocs.go') diff --git a/src/testing/allocs.go b/src/testing/allocs.go index 8161fad06f..ac005dd934 100644 --- a/src/testing/allocs.go +++ b/src/testing/allocs.go @@ -15,7 +15,7 @@ import ( // a warm-up. The average number of allocations over the specified number of // runs will then be measured and returned. // -// AllocsPerRun sets GOMAXPROCS to 1 during its measurement and will restore +// AllocsPerRun sets [runtime.GOMAXPROCS] to 1 during its measurement and will restore // it before returning. func AllocsPerRun(runs int, f func()) (avg float64) { if parallelStart.Load() != parallelStop.Load() { -- cgit v1.3-5-g9baa