docs: replaced instances of "bucket" with "table"

- Removed instances of `growthFactor`, as it is unexported.
- Typo in `HashTable.String()`.
This commit is contained in:
2026-04-13 20:49:33 -04:00
parent 395a3560c7
commit 6a5b40c097
3 changed files with 6 additions and 6 deletions

View File

@@ -29,7 +29,7 @@ type settings struct {
// like [New], for example.
type Option func(*settings)
// Capacity modifies the starting capacity of each bucket of the [HashTable]. The
// Capacity modifies the starting capacity of each table of the [HashTable]. The
// value must be non-negative.
func Capacity(value int) Option {
if value < 0 {