summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorgenotrance <dev@genotrance.com>2020-03-03 13:52:16 -0600
committerGitHub <noreply@github.com>2020-03-03 20:52:16 +0100
commitf8175688a3b9c88b53685a35a454aeba4b2bcc5d (patch)
treeaf5e699947ee81f2dc64ef3259808377d7180840 /lib
parente8c057fb2729b2598b8cb62ae46f85139fb480fa (diff)
downloadNim-f8175688a3b9c88b53685a35a454aeba4b2bcc5d.tar.gz
Fix docgen snippet numbering (#13507)
Diffstat (limited to 'lib')
-rw-r--r--lib/system/inclrtl.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/inclrtl.nim b/lib/system/inclrtl.nim
index adbda9fd6..e84794c74 100644
--- a/lib/system/inclrtl.nim
+++ b/lib/system/inclrtl.nim
@@ -49,7 +49,7 @@ when defined(nimlocks):
 else:
   {.pragma: benign, gcsafe.}
 
-template since(version, body: untyped) {.dirty.} =
+template since(version, body: untyped) {.dirty, used.} =
   ## limitation: can't be used to annotate a template (eg typetraits.get), would
   ## error: cannot attach a custom pragma.
   when (NimMajor, NimMinor) >= version: