aboutsummaryrefslogtreecommitdiff
path: root/src/internal/pkgbits
diff options
context:
space:
mode:
authorcuishuang <imcusg@gmail.com>2024-11-20 21:56:27 +0800
committerGopher Robot <gobot@golang.org>2024-11-21 22:16:20 +0000
commita925402b62c06d1cfe2b345cba0b11fa06b8401d (patch)
tree3d91369411c3148ade70b21da8d01f7f0dcec655 /src/internal/pkgbits
parent154fb4e1d45e503658542dee5296243a6146e7ca (diff)
downloadgo-a925402b62c06d1cfe2b345cba0b11fa06b8401d.tar.xz
all: fix some function names and typos in comment
Change-Id: I07e7c8eaa5bd4bac0d576b2f2f4cd3f81b0b77a4 Reviewed-on: https://go-review.googlesource.com/c/go/+/630055 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Commit-Queue: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Russ Cox <rsc@golang.org> Auto-Submit: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/internal/pkgbits')
-rw-r--r--src/internal/pkgbits/decoder.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/pkgbits/decoder.go b/src/internal/pkgbits/decoder.go
index 09f26a84bd..5a2b3f4a6a 100644
--- a/src/internal/pkgbits/decoder.go
+++ b/src/internal/pkgbits/decoder.go
@@ -372,7 +372,7 @@ func (r *Decoder) Int64() int64 {
return r.rawVarint()
}
-// Int64 decodes and returns a uint64 value from the element bitstream.
+// Uint64 decodes and returns a uint64 value from the element bitstream.
func (r *Decoder) Uint64() uint64 {
r.Sync(SyncUint64)
return r.rawUvarint()