mirror of https://github.com/golang/go.git
syscall: fix duplicate comments
This commit is contained in:
parent
5498fa90e9
commit
4d06aea6a7
|
|
@ -45,7 +45,7 @@ const PathMax = 256
|
|||
// err = errno
|
||||
// }
|
||||
//
|
||||
// Errno values can be tested against error values from the the os package
|
||||
// Errno values can be tested against error values from the os package
|
||||
// using errors.Is. For example:
|
||||
//
|
||||
// _, _, err := syscall.Syscall(...)
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ const PathMax = 256
|
|||
// err = errno
|
||||
// }
|
||||
//
|
||||
// Errno values can be tested against error values from the the os package
|
||||
// Errno values can be tested against error values from the os package
|
||||
// using errors.Is. For example:
|
||||
//
|
||||
// _, _, err := syscall.Syscall(...)
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ const bitSize16 = 2
|
|||
|
||||
// ErrorString implements Error's String method by returning itself.
|
||||
//
|
||||
// ErrorString values can be tested against error values from the the os package
|
||||
// ErrorString values can be tested against error values from the os package
|
||||
// using errors.Is. For example:
|
||||
//
|
||||
// _, _, err := syscall.Syscall(...)
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ func (m *mmapper) Munmap(data []byte) (err error) {
|
|||
// err = errno
|
||||
// }
|
||||
//
|
||||
// Errno values can be tested against error values from the the os package
|
||||
// Errno values can be tested against error values from the os package
|
||||
// using errors.Is. For example:
|
||||
//
|
||||
// _, _, err := syscall.Syscall(...)
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ func UTF16PtrFromString(s string) (*uint16, error) {
|
|||
|
||||
// Errno is the Windows error number.
|
||||
//
|
||||
// Errno values can be tested against error values from the the os package
|
||||
// Errno values can be tested against error values from the os package
|
||||
// using errors.Is. For example:
|
||||
//
|
||||
// _, _, err := syscall.Syscall(...)
|
||||
|
|
|
|||
Loading…
Reference in New Issue