mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-24 16:25:25 +00:00
minor cleanups (#17948)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user