]> Cypherpunks repositories - gostls13.git/commit
strings: remove "a copy of the string" from ToUpper/ToLower comments
authorМаксадбек Ахмедов <a.maksadbek@gmail.com>
Sat, 13 Apr 2019 14:38:36 +0000 (17:38 +0300)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sun, 14 Apr 2019 16:19:31 +0000 (16:19 +0000)
commita01d108e30a00f9126253e061d679b07d9ff72b7
tree4ffd678c74581f1e70569176857970d86fdaef16
parenta6e892d26d6ee59799f55bc50521605ebf75ea67
strings: remove "a copy of the string" from ToUpper/ToLower comments

When string letters are all in lower/upper cases, both functions respectively
return original string.

Fixes #30987

Change-Id: Ie8d664f7af5e087f82c1bc156933e9a995645bf4
Reviewed-on: https://go-review.googlesource.com/c/go/+/171735
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/strings/strings.go