Skip to content

Commit

Permalink
archive/tar: fix typo in comment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
yangwenmai authored and ianlancetaylor committed Jan 8, 2021
1 parent cab1202 commit d92f8ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/archive/tar/strconv.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d92f8ad

Please sign in to comment.