]> Cypherpunks repositories - gostls13.git/commitdiff
internal/pkgbits: fix incorrect doc comment
authorRobert Griesemer <gri@golang.org>
Wed, 21 Aug 2024 16:54:36 +0000 (09:54 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 21 Aug 2024 16:59:19 +0000 (16:59 +0000)
Change-Id: I71d1dfec11657ffa8ffe12e87f6dbd65cbb1854b
Reviewed-on: https://go-review.googlesource.com/c/go/+/607475
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
TryBot-Bypass: Robert Griesemer <gri@google.com>

src/internal/pkgbits/encoder.go

index a1489c88d044fd1bd72811380620178f93db181e..b632b58ca016ec45efe54994a4fb7610ce827602 100644 (file)
@@ -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,