From 64f2829c9cdf12b893068305b2451c81b0a5b3a6 Mon Sep 17 00:00:00 2001 From: Abirdcfly Date: Sun, 24 Jul 2022 13:41:16 +0000 Subject: [PATCH] runtime: fix typo in function comments 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 Auto-Submit: Keith Randall Reviewed-by: Ian Lance Taylor Reviewed-by: Keith Randall TryBot-Result: Gopher Robot Run-TryBot: Keith Randall --- src/runtime/string.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/string.go b/src/runtime/string.go index 5ab0ac3a86..359a5658c5 100644 --- a/src/runtime/string.go +++ b/src/runtime/string.go @@ -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. -- 2.48.1