mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-01 02:42:05 +00:00
docgen: fixes typo
This commit is contained in:
@@ -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) =
|
||||
|
||||
Reference in New Issue
Block a user