mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-05 04:27:44 +00:00
Merge pull request #2516 from novist/doc-compiletime-variable
Doc: compileTime pragma can be used on variable
This commit is contained in:
@@ -71,10 +71,9 @@ procedural variable.
|
||||
|
||||
compileTime pragma
|
||||
------------------
|
||||
The ``compileTime`` pragma is used to mark a proc to be used at compile
|
||||
time only. No code will be generated for it. Compile time procs are useful
|
||||
as helpers for macros.
|
||||
|
||||
The ``compileTime`` pragma is used to mark a proc or variable to be used at
|
||||
compile time only. No code will be generated for it. Compile time procs are
|
||||
useful as helpers for macros.
|
||||
|
||||
noReturn pragma
|
||||
---------------
|
||||
|
||||
Reference in New Issue
Block a user