]> Cypherpunks repositories - gostls13.git/commitdiff
syscall: fix duplicate comments
authormicnncim <micnncim@gmail.com>
Fri, 30 Aug 2019 19:27:55 +0000 (19:27 +0000)
committerEmmanuel Odeke <emm.odeke@gmail.com>
Fri, 30 Aug 2019 19:28:35 +0000 (19:28 +0000)
Removed repetitions of "the" in some comments.

Change-Id: I36a6f51609765076de32e1b97398c4c08743aafc
GitHub-Last-Rev: 4d06aea6a787cfca40eda10845897ff149fff62c
GitHub-Pull-Request: golang/go#33797
Reviewed-on: https://go-review.googlesource.com/c/go/+/191497
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
src/syscall/syscall_js.go
src/syscall/syscall_nacl.go
src/syscall/syscall_plan9.go
src/syscall/syscall_unix.go
src/syscall/syscall_windows.go

index 24fbd51189d9bde21af643b7e4cf54dd01af1d69..987dd4a79615aa3d079fcb0d1a0d336fda80dfd4 100644 (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(...)
index efc986a6f45f4cde4dacc014c7afa09609146d2d..c784d372a151a1255a1383db4aae03af332a0ea0 100644 (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(...)
index 52a9d2aabeca64de0167b51b6010616097267ffa..d4e679c92a0d0c0f0c728782942954ec581656a5 100644 (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(...)
index 4a6305e4c5f7f76083b9b3b97ad177a21017c0ec..1d0be94305124533429fb269f89af79417052eb1 100644 (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(...)
index cfa9d9c5d0eeff59390e7e6c76994e96453d6454..e4d78d66adaeaa8796890855e7cd680ec2af81b8 100644 (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(...)