Skip to content

Commit 4567428

Browse files
Sajjongopherbot
authored andcommitted
src: fix typos
Fix typos in ~30 files Change-Id: Ie433aea01e7d15944c1e9e103691784876d5c1f9 GitHub-Last-Rev: bbaeb3d1f88a5fa6bbb69607b1bd075f496a7894 GitHub-Pull-Request: golang/go#68964 Reviewed-on: https://go-review.googlesource.com/c/go/+/606955 Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
1 parent 70f35a0 commit 4567428

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compress/flate/huffman_code.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ func (h *huffmanEncoder) bitCounts(list []literalNode, maxBits int32) []int32 {
176176
for {
177177
l := &levels[level]
178178
if l.nextPairFreq == math.MaxInt32 && l.nextCharFreq == math.MaxInt32 {
179-
// We've run out of both leafs and pairs.
179+
// We've run out of both leaves and pairs.
180180
// End all calculations for this level.
181181
// To make sure we never come back to this level or any lower level,
182182
// set nextPairFreq impossibly large.

0 commit comments

Comments
 (0)