From 5499ec084c05eb935ce229020373f57537efb03e Mon Sep 17 00:00:00 2001 From: alaviss Date: Fri, 4 Jan 2019 21:13:07 +0700 Subject: [PATCH] fix system.nim documentations (#10168) * system: fix nimGC_getStackBottom doc * system/helpers: avoid leaking docs to system (cherry picked from commit be0a4d1342b05815e25f9a51bda0cf199a6d439e) --- lib/system.nim | 4 ++-- lib/system/helpers.nim | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/system.nim b/lib/system.nim index 682ff540e4..61b64270b8 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -2712,8 +2712,8 @@ when not defined(nimscript) and hasAlloc: when not defined(JS) and not defined(nimscript) and hasAlloc: proc nimGC_setStackBottom*(theStackBottom: pointer) {.compilerRtl, noinline, benign.} - ## Expands operating GC stack range to `theStackBottom`. Does nothing - ## if current stack bottom is already lower than `theStackBottom`. + ## Expands operating GC stack range to `theStackBottom`. Does nothing + ## if current stack bottom is already lower than `theStackBottom`. else: template GC_disable* = diff --git a/lib/system/helpers.nim b/lib/system/helpers.nim index fb1218684c..7b2b326790 100644 --- a/lib/system/helpers.nim +++ b/lib/system/helpers.nim @@ -1,5 +1,5 @@ -## helpers used system.nim and other modules, avoids code duplication while -## also minimizing symbols exposed in system.nim +# helpers used system.nim and other modules, avoids code duplication while +# also minimizing symbols exposed in system.nim # # TODO: move other things here that should not be exposed in system.nim