From: Robert Griesemer Date: Wed, 21 Aug 2024 16:54:36 +0000 (-0700) Subject: internal/pkgbits: fix incorrect doc comment X-Git-Tag: go1.24rc1~1144 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=92dd05682c514bc84352ec716280b5d3a66399e4;p=gostls13.git 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 --- 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,