Skip to content

Commit e1d1684

Browse files
cncalianlancetaylor
authored andcommitted
runtime/race: fix comment in select_test.TestNoRaceSelect1
selectGoImpl was merged into selectGo in https://golang.org/cl/37860. Change-Id: I39985f37223743f1ea0aba9bee0e2708398a925c GitHub-Last-Rev: ec97b4b GitHub-Pull-Request: #38716 Reviewed-on: https://go-review.googlesource.com/c/go/+/230340 Reviewed-by: Ian Lance Taylor <iant@golang.org>
1 parent 07cb63a commit e1d1684

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/runtime/race/testdata/select_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func TestNoRaceSelect1(t *testing.T) {
2020
x = 1
2121
// At least two channels are needed because
2222
// otherwise the compiler optimizes select out.
23-
// See comment in runtime/select.go:^func selectgoImpl.
23+
// See comment in runtime/select.go:^func selectgo.
2424
select {
2525
case c <- true:
2626
case c1 <- true:

0 commit comments

Comments
 (0)