Commit 4219aec6 authored by micnncim's avatar micnncim Committed by Emmanuel Odeke

syscall: fix duplicate comments

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/+/191497Reviewed-by: default avatarEmmanuel Odeke <emm.odeke@gmail.com>
parent 8d5197d8
...@@ -45,7 +45,7 @@ const PathMax = 256 ...@@ -45,7 +45,7 @@ const PathMax = 256
// err = errno // 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: // using errors.Is. For example:
// //
// _, _, err := syscall.Syscall(...) // _, _, err := syscall.Syscall(...)
......
...@@ -52,7 +52,7 @@ const PathMax = 256 ...@@ -52,7 +52,7 @@ const PathMax = 256
// err = errno // 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: // using errors.Is. For example:
// //
// _, _, err := syscall.Syscall(...) // _, _, err := syscall.Syscall(...)
......
...@@ -21,7 +21,7 @@ const bitSize16 = 2 ...@@ -21,7 +21,7 @@ const bitSize16 = 2
// ErrorString implements Error's String method by returning itself. // 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: // using errors.Is. For example:
// //
// _, _, err := syscall.Syscall(...) // _, _, err := syscall.Syscall(...)
......
...@@ -108,7 +108,7 @@ func (m *mmapper) Munmap(data []byte) (err error) { ...@@ -108,7 +108,7 @@ func (m *mmapper) Munmap(data []byte) (err error) {
// err = errno // 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: // using errors.Is. For example:
// //
// _, _, err := syscall.Syscall(...) // _, _, err := syscall.Syscall(...)
......
...@@ -78,7 +78,7 @@ func UTF16PtrFromString(s string) (*uint16, error) { ...@@ -78,7 +78,7 @@ func UTF16PtrFromString(s string) (*uint16, error) {
// Errno is the Windows error number. // 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: // using errors.Is. For example:
// //
// _, _, err := syscall.Syscall(...) // _, _, err := syscall.Syscall(...)
......
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