aboutsummaryrefslogtreecommitdiff
path: root/src/compress
diff options
context:
space:
mode:
authorDan Kortschak <dan@kortschak.io>2022-03-05 19:21:15 +1030
committerDaniel Martí <mvdan@mvdan.cc>2022-03-06 20:47:39 +0000
commitda2773fe3e2f6106634673a38dc3a6eb875fe7d8 (patch)
tree6de067c7651945133608c53635e371a88e698d60 /src/compress
parent45f45444b307cea7c8330b100b30382e642e010f (diff)
downloadgo-da2773fe3e2f6106634673a38dc3a6eb875fe7d8.tar.gz
go-da2773fe3e2f6106634673a38dc3a6eb875fe7d8.zip
all: fix some typos
Change-Id: I7dfae0fc91c2d70873ec7ec920be7c0a4888153a Reviewed-on: https://go-review.googlesource.com/c/go/+/390175 Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Daniel Martí <mvdan@mvdan.cc> Trust: Daniel Martí <mvdan@mvdan.cc>
Diffstat (limited to 'src/compress')
-rw-r--r--src/compress/bzip2/huffman.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compress/bzip2/huffman.go b/src/compress/bzip2/huffman.go
index 36ae954009..447fc4d851 100644
--- a/src/compress/bzip2/huffman.go
+++ b/src/compress/bzip2/huffman.go
@@ -182,7 +182,7 @@ func buildHuffmanNode(t *huffmanTree, codes []huffmanCode, level uint32) (nodeIn
// If this function was called recursively then we know that
// len(codes) >= 2 because, otherwise, we would have hit the
- // "leaf node" case, below, and not recursed.
+ // "leaf node" case, below, and not recurred.
//
// However, for the initial call it's possible that len(codes)
// is zero or one. Both cases are invalid because a zero length