syscall: fix duplicate comments

Removed repetitions of "the" in some comments.

Change-Id: I36a6f51609765076de32e1b97398c4c08743aafc
GitHub-Last-Rev: 4d06aea6a7
GitHub-Pull-Request: golang/go#33797
Reviewed-on: https://go-review.googlesource.com/c/go/+/191497
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
This commit is contained in:
micnncim 2019-08-30 19:27:55 +00:00 committed by Emmanuel Odeke
parent 8d5197d818
commit 4219aec60a
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(...)