Skip to content

Commit 913fb63

Browse files
catatsuygopherbot
authored andcommitted
singleflight: fix typo in singleflight_test.go
Change-Id: Ia2160fdc8f1938d784a4e1595151c00bc521f5c3 Reviewed-on: https://go-review.googlesource.com/c/sync/+/626795 TryBot-Result: Gopher Robot <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Run-TryBot: Emmanuel Odeke <[email protected]> Commit-Queue: Ian Lance Taylor <[email protected]> Reviewed-by: Emmanuel Odeke <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Emmanuel Odeke <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Reviewed-by: Alan Donovan <[email protected]> Reviewed-by: Cherry Mui <[email protected]>
1 parent 151027e commit 913fb63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

singleflight/singleflight_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ func ExampleGroup() {
411411
// Results are shared by functions executed with duplicate keys.
412412
fmt.Println("Shared:", res2.Shared)
413413
// Only the first function is executed: it is registered and started with "key",
414-
// and doesn't complete before the second funtion is registered with a duplicate key.
414+
// and doesn't complete before the second function is registered with a duplicate key.
415415
fmt.Println("Equal results:", res1.Val.(string) == res2.Val.(string))
416416
fmt.Println("Result:", res1.Val)
417417

0 commit comments

Comments
 (0)