runtime: constify a test variable

Simple cleanup, no functionality change.

Change-Id: I8eceda4496a396e0117a0a601186c653982fb004
GitHub-Last-Rev: 58defc575e
GitHub-Pull-Request: golang/go#47389
Reviewed-on: https://go-review.googlesource.com/c/go/+/337289
Reviewed-by: Austin Clements <austin@google.com>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Cherry Mui <cherryyz@google.com>
This commit is contained in:
Carlo Alberto Ferraris 2021-07-25 23:15:15 +00:00 committed by Austin Clements
parent 90ed541149
commit a35c5c98c0
3 changed files with 3 additions and 3 deletions

View file

@ -198,7 +198,7 @@ func MemclrBytes(b []byte) {
memclrNoHeapPointers(s.array, uintptr(s.len))
}
var HashLoad = &hashLoad
const HashLoad = hashLoad
// entry point for testing
func GostringW(w []uint16) (s string) {