mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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>
This commit is contained in:
parent
e572218d12
commit
05b626e490
2 changed files with 2 additions and 2 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue