system: some documentation improvements (#10809)
This commit is contained in:
parent
44d47134f9
commit
06f23572d0
5 changed files with 1412 additions and 820 deletions
|
|
@ -38,7 +38,7 @@ template assert*(cond: untyped, msg = "") =
|
|||
assertImpl(cond, msg, expr, compileOption("assertions"))
|
||||
|
||||
template doAssert*(cond: untyped, msg = "") =
|
||||
## same as ``assert`` but is always turned on regardless of ``--assertions``
|
||||
## Similar to ``assert`` but is always turned on regardless of ``--assertions``.
|
||||
const expr = astToStr(cond)
|
||||
assertImpl(cond, msg, expr, true)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue