1
0
mirror of https://github.com/golang/go synced 2024-11-11 19:51:37 -07:00

archive/tar: fix typo in comment

Change-Id: Ifcc565b34b3c3bb7ee62bb0525648a5d2895bf0b
Reviewed-on: https://go-review.googlesource.com/c/go/+/282013
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Alberto Donizetti <alb.donizetti@gmail.com>
This commit is contained in:
yangwenmai 2021-01-07 17:45:36 +08:00 committed by Ian Lance Taylor
parent cab1202183
commit d92f8add32

View File

@ -28,7 +28,7 @@ func isASCII(s string) bool {
}
// toASCII converts the input to an ASCII C-style string.
// This a best effort conversion, so invalid characters are dropped.
// This is a best effort conversion, so invalid characters are dropped.
func toASCII(s string) string {
if isASCII(s) {
return s