Fixes the misuse of "a" vs "an", according to English grammatical
expectations and using https://www.a-or-an.com/
Change-Id: Ic9600dcbb3d843880349729478266c4b9bcf7316
Reviewed-on: https://go-review.googlesource.com/c/go/+/531335
Run-TryBot: shuang cui <imcusg@gmail.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
pos = check.errpos
}
- // If we have an URL for error codes, add a link to the first line.
+ // If we have a URL for error codes, add a link to the first line.
if code != 0 && check.conf.ErrorURL != "" {
u := fmt.Sprintf(check.conf.ErrorURL, code)
if i := strings.Index(msg, "\n"); i >= 0 {
panic("no error code provided")
}
- // If we have an URL for error codes, add a link to the first line.
+ // If we have a URL for error codes, add a link to the first line.
if errp.code != 0 && check.conf._ErrorURL != "" {
u := fmt.Sprintf(check.conf._ErrorURL, errp.code)
if i := strings.Index(msg, "\n"); i >= 0 {
n, ok := copyBytesToGo(dst, src.ref)
runtime.KeepAlive(src)
if !ok {
- panic("syscall/js: CopyBytesToGo: expected src to be an Uint8Array or Uint8ClampedArray")
+ panic("syscall/js: CopyBytesToGo: expected src to be a Uint8Array or Uint8ClampedArray")
}
return n
}
n, ok := copyBytesToJS(dst.ref, src)
runtime.KeepAlive(dst)
if !ok {
- panic("syscall/js: CopyBytesToJS: expected dst to be an Uint8Array or Uint8ClampedArray")
+ panic("syscall/js: CopyBytesToJS: expected dst to be a Uint8Array or Uint8ClampedArray")
}
return n
}