[std/hashcommon]improve docs a bit (#18153)
* reduce duplicated deprecated messages
This commit is contained in:
parent
0de3d4292f
commit
f27f3f65df
1 changed files with 3 additions and 3 deletions
|
|
@ -34,10 +34,10 @@ proc slotsNeeded(count: Natural): int {.inline.} =
|
||||||
result = nextPowerOfTwo(count * 3 div 2 + 4)
|
result = nextPowerOfTwo(count * 3 div 2 + 4)
|
||||||
|
|
||||||
proc rightSize*(count: Natural): int {.inline, deprecated: "Deprecated since 1.4.0".} =
|
proc rightSize*(count: Natural): int {.inline, deprecated: "Deprecated since 1.4.0".} =
|
||||||
## **Deprecated since Nim v1.4.0**, it is not needed anymore
|
## It is not needed anymore because
|
||||||
## because picking the correct size is done internally.
|
## picking the correct size is done internally.
|
||||||
##
|
##
|
||||||
## Return the value of `initialSize` to support `count` items.
|
## Returns the value of `initialSize` to support `count` items.
|
||||||
##
|
##
|
||||||
## If more items are expected to be added, simply add that
|
## If more items are expected to be added, simply add that
|
||||||
## expected extra amount to the parameter before calling this.
|
## expected extra amount to the parameter before calling this.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue