Skip to content

Commit ec11c4a

Browse files
SavaLionegopherbot
authored andcommitted
errgroup: fix a typo in the documentation
Change-Id: I265cbc977e15a81c0068e7b60933843d8f02fe6a Reviewed-on: https://go-review.googlesource.com/c/sync/+/747140 Reviewed-by: Alan Donovan <adonovan@google.com> Auto-Submit: Alan Donovan <adonovan@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
1 parent 1a58307 commit ec11c4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

errgroup/errgroup_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func fakeSearch(kind string) Search {
3434

3535
// JustErrors illustrates the use of a Group in place of a sync.WaitGroup to
3636
// simplify goroutine counting and error handling. This example is derived from
37-
// the sync.WaitGroup example at https://golang.org/pkg/sync/#example_WaitGroup.
37+
// the sync.WaitGroup example at https://golang.org/pkg/sync/#example-WaitGroup.
3838
func ExampleGroup_justErrors() {
3939
g := new(errgroup.Group)
4040
var urls = []string{

0 commit comments

Comments
 (0)