]> Cypherpunks repositories - gostls13.git/commit
sync: refer to Locker interface methods in RWMutex.RLocker doc
authorDmitri Shuralyov <dmitshur@golang.org>
Sat, 29 Jun 2024 20:35:40 +0000 (20:35 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 1 Jul 2024 13:44:22 +0000 (13:44 +0000)
commitcdbf5f2f7e968993560730479d4670c2d6eecd8b
treeea3f7911976d29ac8810473392328d12d7eef4cc
parentc33144c47cbee5506df404553c3769867972f889
sync: refer to Locker interface methods in RWMutex.RLocker doc

The methods being implemented are part of the Locker interface,
not the RWMutex struct.

Fixes #68250.

Change-Id: I609c4d5c44e90a12914a8678971ba295519cc265
Reviewed-on: https://go-review.googlesource.com/c/go/+/595875
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Than McIntosh <thanm@google.com>
src/sync/rwmutex.go