Skip to content

Commit 59493f3

Browse files
alexandeargopherbot
authored andcommitted
internal/fuzz: fix names of noCopy methods
Must be Lock/Unlock to be flagged by vet. Change-Id: I792ebd68b168621a660b9595b5d06a465d0d7bf2 Reviewed-on: https://go-review.googlesource.com/c/go/+/584355 Auto-Submit: Roland Shoemaker <[email protected]> Reviewed-by: Roland Shoemaker <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Cherry Mui <[email protected]>
1 parent 20721e5 commit 59493f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/internal/fuzz/pcg.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,6 @@ func (r *pcgRand) bool() bool {
140140
// for details.
141141
type noCopy struct{}
142142

143-
// lock is a no-op used by -copylocks checker from `go vet`.
144-
func (*noCopy) lock() {}
145-
func (*noCopy) unlock() {}
143+
// Lock is a no-op used by -copylocks checker from `go vet`.
144+
func (*noCopy) Lock() {}
145+
func (*noCopy) Unlock() {}

0 commit comments

Comments
 (0)