]> Cypherpunks.ru repositories - gostls13.git/commitdiff
runtime: fix typo in function comments
authorAbirdcfly <fp544037857@gmail.com>
Sun, 24 Jul 2022 13:41:16 +0000 (13:41 +0000)
committerGopher Robot <gobot@golang.org>
Sun, 24 Jul 2022 21:05:02 +0000 (21:05 +0000)
The correct word to use here is 'receive' not 'recieve'

Change-Id: Ia33e2a91c1c2da6dbe479a05518dbb9b8733d20d
GitHub-Last-Rev: e3c3e211dd7055d1dab8699a88d0b35c459da149
GitHub-Pull-Request: golang/go#54025
Reviewed-on: https://go-review.googlesource.com/c/go/+/419316
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Keith Randall <khr@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>

src/runtime/string.go

index 5ab0ac3a86a696319ceb7cdbadc03794ce1e9c79..359a5658c5acf78b1bc98cd0a88f96021d27376e 100644 (file)
@@ -432,7 +432,7 @@ func atoi32(s string) (int32, bool) {
 // - KiB, MiB, GiB, TiB which represent binary IEC/ISO 80000 units, or
 // - B, which just represents bytes.
 //
-// Returns an int64 because that's what its callers want and recieve,
+// Returns an int64 because that's what its callers want and receive,
 // but the result is always non-negative.
 func parseByteCount(s string) (int64, bool) {
        // The empty string is not valid.