aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/internal/archive/archive.go
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2023-01-24 09:20:13 +0800
committerGopher Robot <gobot@golang.org>2023-01-24 18:55:49 +0000
commit3900ba4baf0e3b309a55b5ac4dd25f709df09772 (patch)
tree77c06fac16dc3dd6905b25fdaba0e2421860cf0c /src/cmd/internal/archive/archive.go
parenta6ddb15f8f5955d93eeb2f674ec564ffd4530c18 (diff)
downloadgo-3900ba4baf0e3b309a55b5ac4dd25f709df09772.tar.xz
all: fix some comments
Change-Id: I3e9f05d221990b1ae464545d6d8b2e22c35bca21 Reviewed-on: https://go-review.googlesource.com/c/go/+/463077 Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Matthew Dempsky <mdempsky@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/cmd/internal/archive/archive.go')
-rw-r--r--src/cmd/internal/archive/archive.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/internal/archive/archive.go b/src/cmd/internal/archive/archive.go
index e35a418e17..8ac50e202f 100644
--- a/src/cmd/internal/archive/archive.go
+++ b/src/cmd/internal/archive/archive.go
@@ -189,7 +189,7 @@ func (r *objReader) readByte() byte {
return b
}
-// read reads exactly len(b) bytes from the input file.
+// readFull reads exactly len(b) bytes from the input file.
// If an error occurs, read returns the error but also
// records it, so it is safe for callers to ignore the result
// as long as delaying the report is not a problem.