]> Cypherpunks repositories - gostls13.git/commitdiff
archive/tar: fix typo in comment
authoryangwenmai <yangwen.yw@gmail.com>
Thu, 7 Jan 2021 09:45:36 +0000 (17:45 +0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 8 Jan 2021 02:03:24 +0000 (02:03 +0000)
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>

src/archive/tar/strconv.go

index 0a910f33b9d68746e19992bf66bcb2091410b0cf..6d0a40380828454bfe1563416a934f5482db0693 100644 (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