minor cleanups (#17948)

This commit is contained in:
Andreas Rumpf
2021-05-06 13:27:40 +02:00
committed by GitHub
parent 436af88d8c
commit 98cd1671a3
3 changed files with 1 additions and 5 deletions

View File

@@ -373,7 +373,7 @@ iterator elements(t: IntSet): int {.inline.} =
r = r.next
proc isSmallChunk(c: PChunk): bool {.inline.} =
return c.size <= SmallChunkSize-smallChunkOverhead()
result = c.size <= SmallChunkSize-smallChunkOverhead()
proc chunkUnused(c: PChunk): bool {.inline.} =
result = (c.prevSize and 1) == 0