]> Cypherpunks repositories - gostls13.git/commit
bytes, strings: use "reports whether" in HasPrefix and HasSuffix
authorMatthew Dempsky <mdempsky@google.com>
Fri, 1 Sep 2023 02:15:19 +0000 (19:15 -0700)
committerGopher Robot <gobot@golang.org>
Fri, 1 Sep 2023 04:29:02 +0000 (04:29 +0000)
commit62fb281cf72d4b7fa0a29500911a4af3a244f90f
tree0a4fc1325e04cfb0e266188fdd7037edda9e03f2
parent7a4787d12a23f75c670f618a049eaaac69eb4016
bytes, strings: use "reports whether" in HasPrefix and HasSuffix

Update the doc comments to use the more idiomatic and common phrase
"reports whether" instead of "tests whether".

Change-Id: I2b7f8cce2d192f66e296ebaa9b37f37e8276b4ae
Reviewed-on: https://go-review.googlesource.com/c/go/+/524898
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Matthew Dempsky <mdempsky@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/bytes/bytes.go
src/strings/strings.go