1
0
mirror of https://github.com/golang/go synced 2024-11-12 07:00:21 -07:00

os: remove old note about NewSyscallError being special

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5556044
This commit is contained in:
Alex Brainman 2012-01-18 16:59:40 +11:00
parent 6a5db20d14
commit 436b37d885
2 changed files with 0 additions and 8 deletions

View File

@ -17,10 +17,6 @@ type SyscallError struct {
func (e *SyscallError) Error() string { return e.Syscall + ": " + e.Err }
// Note: If the name of the function NewSyscallError changes,
// pkg/go/doc/doc.go should be adjusted since it hardwires
// this name in a heuristic.
// NewSyscallError returns, as an error, a new SyscallError
// with the given system call name and error details.
// As a convenience, if err is nil, NewSyscallError returns nil.

View File

@ -59,10 +59,6 @@ type SyscallError struct {
func (e *SyscallError) Error() string { return e.Syscall + ": " + e.Errno.Error() }
// Note: If the name of the function NewSyscallError changes,
// pkg/go/doc/doc.go should be adjusted since it hardwires
// this name in a heuristic.
// NewSyscallError returns, as an error, a new SyscallError
// with the given system call name and error details.
// As a convenience, if err is nil, NewSyscallError returns nil.