syscall: fix duplicate comments

This commit is contained in:
micnncim 2019-08-23 18:33:25 +09:00
parent 5498fa90e9
commit 4d06aea6a7
5 changed files with 5 additions and 5 deletions

View File

@ -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(...)

View File

@ -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(...)

View File

@ -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(...)

View File

@ -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(...)

View File

@ -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(...)