minor cleanups (#17948)

This commit is contained in:
Andreas Rumpf 2021-05-06 13:27:40 +02:00 • committed by GitHub
commit 98cd1671a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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