Just a cleanup.
Change-Id: Ibeb2c7d447c793086280e612fe5f0f7eeb863f71
Reviewed-on: https://go-review.googlesource.com/c/go/+/582875
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Jorropo <jorropo.pgm@gmail.com>
// globalRand is the source of random numbers for the top-level
// convenience functions.
-var globalRand = &Rand{src: &runtimeSource{}}
+var globalRand = &Rand{src: runtimeSource{}}
//go:linkname runtime_rand runtime.rand
func runtime_rand() uint64
// runtimeSource is a Source that uses the runtime fastrand functions.
type runtimeSource struct{}
-func (*runtimeSource) Uint64() uint64 {
+func (runtimeSource) Uint64() uint64 {
return runtime_rand()
}