replace "too small" with "too short" in error messages

This commit is contained in:
Michael Eischer committed 2024-05-18 19:59:26 +02:00
1 parent 53561474d9
commit 6328b7e1f5
5 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -204,7 +204,7 @@ func (h *hashedArrayTree) Size() uint {
func (h *hashedArrayTree) grow() {
idx, subIdx := h.index(h.size)
if int(idx) == len(h.blockList) {
// blockList is too small -> double list and block size
// blockList is too short -> double list and block size
h.blockSize *= 2
h.mask = h.mask*2 + 1
h.maskShift++