From 92dd05682c514bc84352ec716280b5d3a66399e4 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Wed, 21 Aug 2024 09:54:36 -0700 Subject: [PATCH] internal/pkgbits: fix incorrect doc comment Change-Id: I71d1dfec11657ffa8ffe12e87f6dbd65cbb1854b Reviewed-on: https://go-review.googlesource.com/c/go/+/607475 Reviewed-by: Robert Griesemer Reviewed-by: Cuong Manh Le Reviewed-by: Ian Lance Taylor Auto-Submit: Robert Griesemer TryBot-Bypass: Robert Griesemer --- src/internal/pkgbits/encoder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal/pkgbits/encoder.go b/src/internal/pkgbits/encoder.go index a1489c88d0..b632b58ca0 100644 --- a/src/internal/pkgbits/encoder.go +++ b/src/internal/pkgbits/encoder.go @@ -295,7 +295,7 @@ func (w *Encoder) Len(x int) { assert(x >= 0); w.Uint64(uint64(x)) } // Int encodes and writes an int value into the element bitstream. func (w *Encoder) Int(x int) { w.Int64(int64(x)) } -// Len encodes and writes a uint value into the element bitstream. +// Uint encodes and writes a uint value into the element bitstream. func (w *Encoder) Uint(x uint) { w.Uint64(uint64(x)) } // Reloc encodes and writes a relocation for the given (section, -- 2.48.1