aboutsummaryrefslogtreecommitdiff
path: root/src/archive
diff options
context:
space:
mode:
authoryangwenmai <yangwen.yw@gmail.com>2021-01-07 17:45:36 +0800
committerIan Lance Taylor <iant@golang.org>2021-01-08 02:03:24 +0000
commitd92f8add32f79efe7e46af55172d4c703a778938 (patch)
tree018dc7f92b829b7e4482c90c773434d372a12675 /src/archive
parentcab120218382c78fb4263566a38df78aa3653f72 (diff)
downloadgo-d92f8add32f79efe7e46af55172d4c703a778938.tar.gz
go-d92f8add32f79efe7e46af55172d4c703a778938.zip
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>
Diffstat (limited to 'src/archive')
-rw-r--r--src/archive/tar/strconv.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/archive/tar/strconv.go b/src/archive/tar/strconv.go
index 0a910f33b9..6d0a403808 100644
--- a/src/archive/tar/strconv.go
+++ b/src/archive/tar/strconv.go
@@ -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