summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2019-09-16 19:03:17 +0200
committerAndreas Rumpf <rumpf_a@web.de>2019-09-16 23:54:31 +0200
commit77c6425e65cf0ee2d487e778a159b67669a48489 (patch)
tree5f549bc1a41e8a7062581e50ff2c07c34f771866 /lib
parent754531fff3d542b08caed6b4ac1073e9df6d0745 (diff)
downloadNim-77c6425e65cf0ee2d487e778a159b67669a48489.tar.gz
gc_common: typo
Diffstat (limited to 'lib')
-rw-r--r--lib/system/gc_common.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/gc_common.nim b/lib/system/gc_common.nim
index 468172dce..fe07766d9 100644
--- a/lib/system/gc_common.nim
+++ b/lib/system/gc_common.nim
@@ -414,7 +414,7 @@ proc prepareDealloc(cell: PCell) =
     # the finalizer could invoke something that
     # allocates memory; this could trigger a garbage
     # collection. Since we are already collecting we
-    # prevend recursive entering here by a lock.
+    # prevent recursive entering here by a lock.
     # XXX: we should set the cell's children to nil!
     inc(gch.recGcLock)
     (cast[Finalizer](t.finalizer))(cellToUsr(cell))