Fix docgen snippet numbering (#13507)
This commit is contained in:
parent
e8c057fb27
commit
f8175688a3
2 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue