summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2021-05-06 13:27:40 +0200
committerGitHub <noreply@github.com>2021-05-06 13:27:40 +0200
commit98cd1671a3420875b90aebf0e92a0ab762facb51 (patch)
tree68771c008f25bafa0357f460c2050d887da5e101 /lib
parent436af88d8c436265c751bbbc0d76ef42aab0cdf0 (diff)
downloadNim-98cd1671a3420875b90aebf0e92a0ab762facb51.tar.gz
minor cleanups (#17948)
Diffstat (limited to 'lib')
-rw-r--r--lib/system/alloc.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/alloc.nim b/lib/system/alloc.nim
index 76c744f59..c598b8250 100644
--- a/lib/system/alloc.nim
+++ b/lib/system/alloc.nim
@@ -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