diff options
author | Changkun Ou <hi@changkun.us> | 2020-09-28 09:46:42 +0200 |
---|---|---|
committer | Emmanuel Odeke <emm.odeke@gmail.com> | 2020-09-28 08:16:57 +0000 |
commit | 05b626e49075d3b9f2fcda65c7cc9054381da047 (patch) | |
tree | bfc84dfc13e769a4e30125c97182c83e98108493 /src/os | |
parent | e572218d1273bf54bf8cafd39f93f22de196dd55 (diff) | |
download | go-05b626e49075d3b9f2fcda65c7cc9054381da047.tar.gz go-05b626e49075d3b9f2fcda65c7cc9054381da047.zip |
os: fix SyscallConn typos in the File.Fd comments
This CL fixes two typos introduced in CL 256899.
Change-Id: I47f0a3097deeeec8d6e9bbe7073fcf7a28c5dff9
Reviewed-on: https://go-review.googlesource.com/c/go/+/257997
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Trust: Emmanuel Odeke <emm.odeke@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'src/os')
-rw-r--r-- | src/os/file_plan9.go | 2 | ||||
-rw-r--r-- | src/os/file_unix.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/os/file_plan9.go b/src/os/file_plan9.go index 5e0ad68208..a1a51a1c06 100644 --- a/src/os/file_plan9.go +++ b/src/os/file_plan9.go @@ -35,7 +35,7 @@ type file struct { // a finalizer might be run. On Unix systems this will cause the SetDeadline // methods to stop working. // -// As an alternative, see the f.SyscallCon method. +// As an alternative, see the f.SyscallConn method. func (f *File) Fd() uintptr { if f == nil { return ^(uintptr(0)) diff --git a/src/os/file_unix.go b/src/os/file_unix.go index c4dd4fc6a9..e0f16d809d 100644 --- a/src/os/file_unix.go +++ b/src/os/file_unix.go @@ -68,7 +68,7 @@ type file struct { // a finalizer might be run. On Unix systems this will cause the SetDeadline // methods to stop working. // -// As an alternative, see the f.SyscallCon method. +// As an alternative, see the f.SyscallConn method. func (f *File) Fd() uintptr { if f == nil { return ^(uintptr(0)) |