Skip to content

Commit

Permalink
no need to bind nextTry anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
metagn committed Sep 23, 2023
1 parent d58eb41 commit fef14fa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/pure/collections/hashcommon.nim
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ proc slotsNeeded(count: Natural): int {.inline.} =
result = nextPowerOfTwo(count * 3 div 2 + 4)

template rawGetKnownHCImpl() =
bind nextTry
if t.dataLen == 0:
return -1
var h {.inject.}: Hash = hc and maxHash(t) # start with real hash value
Expand Down

0 comments on commit fef14fa

Please sign in to comment.