From: Daman Arora Date: Thu, 30 May 2024 19:37:37 +0000 (+0000) Subject: internal/poll: update WaitWrite comment X-Git-Tag: go1.23rc1~99 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=5bf8c0cf09ee5c7e5a37ab90afcce154ab716a97;p=gostls13.git internal/poll: update WaitWrite comment 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 Commit-Queue: Ian Lance Taylor Reviewed-by: Ian Lance Taylor LUCI-TryBot-Result: Go LUCI Reviewed-by: Michael Pratt --- diff --git a/src/internal/poll/fd_unix.go b/src/internal/poll/fd_unix.go index 5797ab65bb..2535a3ae4d 100644 --- a/src/internal/poll/fd_unix.go +++ b/src/internal/poll/fd_unix.go @@ -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) }