1
0
mirror of https://github.com/golang/go synced 2024-11-15 02:30:31 -07:00

internal/poll: update WaitWrite comment

Signed-off-by: Daman Arora <aroradaman@gmail.com>
This commit is contained in:
Daman Arora 2024-05-31 00:00:10 +05:30
parent c8cb31a36e
commit 69c207f51c

View 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)
}