From fce632545451cb4c8de26ddd14b40b45d68035e9 Mon Sep 17 00:00:00 2001 From: "M.V. Hutz" Date: Thu, 16 Apr 2026 00:01:17 -0400 Subject: [PATCH] docs: naming of subtable.location was outdated --- subtable.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subtable.go b/subtable.go index 53a9785..7ed86d9 100644 --- a/subtable.go +++ b/subtable.go @@ -18,8 +18,8 @@ type subtable[K, V any] struct { compare EqualFunc[K] } -// location determines where in the bucket a certain key would be placed. If the -// capacity is 0, this will panic. +// location determines where in the subtable a certain key would be placed. If +// the capacity is 0, this will panic. func (t *subtable[K, V]) location(key K) uint64 { return t.hash(key) % t.capacity }