]> Cypherpunks repositories - gostls13.git/commitdiff
internal/poll: update WaitWrite comment
authorDaman Arora <aroradaman@gmail.com>
Thu, 30 May 2024 19:37:37 +0000 (19:37 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 31 May 2024 04:09:44 +0000 (04:09 +0000)
Change-Id: Id2999d95f344b3e30d98682aac5da630d808ce2d
GitHub-Last-Rev: 69c207f51c63349ee1cf34f0b96bcd03a1e33e2c
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>
src/internal/poll/fd_unix.go

index 5797ab65bb6bd5e49f89c761b801db6eec4a2a78..2535a3ae4dd43bbb09471890c910399fe97e5c62 100644 (file)
@@ -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)
 }