mirror of
https://github.com/golang/go
synced 2024-11-15 00:40:31 -07:00
internal/poll: update WaitWrite comment
Change-Id: Id2999d95f344b3e30d98682aac5da630d808ce2d
GitHub-Last-Rev: 69c207f51c
GitHub-Pull-Request: golang/go#67732
Reviewed-on: https://go-review.googlesource.com/c/go/+/589396
Auto-Submit: Ian Lance Taylor <iant@google.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
This commit is contained in:
parent
09e5bab8c1
commit
5bf8c0cf09
@ -687,7 +687,7 @@ func (fd *FD) Dup() (int, string, error) {
|
||||
|
||||
// On Unix variants only, expose the IO event for the net code.
|
||||
|
||||
// WaitWrite waits until data can be read from fd.
|
||||
// WaitWrite waits until data can be written to fd.
|
||||
func (fd *FD) WaitWrite() error {
|
||||
return fd.pd.waitWrite(fd.isFile)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user