summary refs log tree commit diff stats
path: root/lib/pure/collections/hashcommon.nim
diff options
context:
space:
mode:
authorJuan Carlos <juancarlospaco@gmail.com>2022-12-08 11:26:58 -0300
committerGitHub <noreply@github.com>2022-12-08 15:26:58 +0100
commitf8e64d879cba1a035eec699fa41007b8a5a96913 (patch)
treec07ecd2b4f98082e2aaedcd15929d69e6ba1c9ad /lib/pure/collections/hashcommon.nim
parent0a1d4ba8427854306b89f4e91ed7902fb23adafb (diff)
downloadNim-f8e64d879cba1a035eec699fa41007b8a5a96913.tar.gz
Remove deprecated rightSize (#21011)
* Remove deprecated rightSize nop

* Remove deprecated rightSize nop
Diffstat (limited to 'lib/pure/collections/hashcommon.nim')
-rw-r--r--lib/pure/collections/hashcommon.nim10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/pure/collections/hashcommon.nim b/lib/pure/collections/hashcommon.nim
index 02312e2dc..8fd4c6e08 100644
--- a/lib/pure/collections/hashcommon.nim
+++ b/lib/pure/collections/hashcommon.nim
@@ -38,16 +38,6 @@ proc slotsNeeded(count: Natural): int {.inline.} =
   # Make sure to synchronize with `mustRehash` above
   result = nextPowerOfTwo(count * 3 div 2 + 4)
 
-proc rightSize*(count: Natural): int {.inline, deprecated: "Deprecated since 1.4.0".} =
-  ## It is not needed anymore because
-  ## picking the correct size is done internally.
-  ##
-  ## 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.
-  result = count
-
 template rawGetKnownHCImpl() {.dirty.} =
   if t.dataLen == 0:
     return -1