Fix documentations for declared (instead of defined)
This commit is contained in:
parent
5668ab3a49
commit
2647423502
2 changed files with 2 additions and 2 deletions
|
|
@ -124,7 +124,7 @@ proc declared*(x: expr): bool {.magic: "Defined", noSideEffect.}
|
|||
## feature or not:
|
||||
##
|
||||
## .. code-block:: Nim
|
||||
## when not defined(strutils.toUpper):
|
||||
## when not declared(strutils.toUpper):
|
||||
## # provide our own toUpper proc here, because strutils is
|
||||
## # missing it.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue