docs: replaced instances of "bucket" with "table"
- Removed instances of `growthFactor`, as it is unexported. - Typo in `HashTable.String()`.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user