aboutsummaryrefslogtreecommitdiff
path: root/src/math
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2023-03-31 00:00:19 +0800
committerGopher Robot <gobot@golang.org>2023-04-04 14:20:53 +0000
commitd8d22664c65b0054fc9ea6ba7e945481348fc8fc (patch)
tree4064f3dcc84f382816d6cb50437c6267a1c63f57 /src/math
parentf62c9701b4bc61da6a5f4db8ef81d816f112430e (diff)
downloadgo-d8d22664c65b0054fc9ea6ba7e945481348fc8fc.tar.xz
all: fix misuses of "a" vs "an"
Fixes the misuse of "a" vs "an", according to English grammatical expectations and using https://www.a-or-an.com/ Change-Id: I53ac724070e3ff3d33c304483fe72c023c7cda47 Reviewed-on: https://go-review.googlesource.com/c/go/+/480536 Run-TryBot: shuang cui <imcusg@gmail.com> Reviewed-by: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/math')
-rw-r--r--src/math/rand/rng.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/rand/rng.go b/src/math/rand/rng.go
index f305df1a20..1e4a9e014f 100644
--- a/src/math/rand/rng.go
+++ b/src/math/rand/rng.go
@@ -234,7 +234,7 @@ func (rng *rngSource) Int63() int64 {
return int64(rng.Uint64() & rngMask)
}
-// Uint64 returns a non-negative pseudo-random 64-bit integer as an uint64.
+// Uint64 returns a non-negative pseudo-random 64-bit integer as a uint64.
func (rng *rngSource) Uint64() uint64 {
rng.tap--
if rng.tap < 0 {