Commit 436b37d8 authored by Alex Brainman's avatar Alex Brainman

os: remove old note about NewSyscallError being special

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5556044
parent 6a5db20d
...@@ -17,10 +17,6 @@ type SyscallError struct { ...@@ -17,10 +17,6 @@ type SyscallError struct {
func (e *SyscallError) Error() string { return e.Syscall + ": " + e.Err } 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 // NewSyscallError returns, as an error, a new SyscallError
// with the given system call name and error details. // with the given system call name and error details.
// As a convenience, if err is nil, NewSyscallError returns nil. // As a convenience, if err is nil, NewSyscallError returns nil.
......
...@@ -59,10 +59,6 @@ type SyscallError struct { ...@@ -59,10 +59,6 @@ type SyscallError struct {
func (e *SyscallError) Error() string { return e.Syscall + ": " + e.Errno.Error() } 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 // NewSyscallError returns, as an error, a new SyscallError
// with the given system call name and error details. // with the given system call name and error details.
// As a convenience, if err is nil, NewSyscallError returns nil. // As a convenience, if err is nil, NewSyscallError returns nil.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment