docgen: fixes typo
This commit is contained in:
parent
621b2db2e8
commit
6f23b05c09
1 changed files with 1 additions and 1 deletions
|
|
@ -765,7 +765,7 @@ proc generateDoc*(d: PDoc, n, orig: PNode) =
|
|||
of nkCallKinds:
|
||||
var comm: Rope = nil
|
||||
getAllRunnableExamples(d, n, comm)
|
||||
if comm > nil: add(d.modDesc, comm)
|
||||
if comm != nil: add(d.modDesc, comm)
|
||||
else: discard
|
||||
|
||||
proc add(d: PDoc; j: JsonNode) =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue