mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-03 19:52:36 +00:00
[std/hashcommon]improve docs a bit (#18153)
* reduce duplicated deprecated messages
This commit is contained in:
@@ -34,10 +34,10 @@ proc slotsNeeded(count: Natural): int {.inline.} =
|
||||
result = nextPowerOfTwo(count * 3 div 2 + 4)
|
||||
|
||||
proc rightSize*(count: Natural): int {.inline, deprecated: "Deprecated since 1.4.0".} =
|
||||
## **Deprecated since Nim v1.4.0**, it is not needed anymore
|
||||
## because picking the correct size is done internally.
|
||||
## It is not needed anymore because
|
||||
## 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
|
||||
## expected extra amount to the parameter before calling this.
|
||||
|
||||
Reference in New Issue
Block a user