mirror of https://github.com/golang/go.git
internal/poll: update WaitWrite comment
Signed-off-by: Daman Arora <aroradaman@gmail.com>
This commit is contained in:
parent
c8cb31a36e
commit
69c207f51c
|
|
@ -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