summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@googlemail.com>2018-04-15 23:55:54 +0100
committerGitHub <noreply@github.com>2018-04-15 23:55:54 +0100
commitb75008292506d49f2641550457354267e11e1116 (patch)
tree3d048dae750c84415ca15887e479f1cf1d7622ed /lib/pure
parent93fafc854561ba7430d31caf5fd58386619812cf (diff)
downloadNim-b75008292506d49f2641550457354267e11e1116.tar.gz
Fix docs in json module after #7537
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/json.nim4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/pure/json.nim b/lib/pure/json.nim
index 1de52bc1a..6740f483d 100644
--- a/lib/pure/json.nim
+++ b/lib/pure/json.nim
@@ -958,7 +958,9 @@ proc `{}`*(node: JsonNode, keys: varargs[string]): JsonNode =
   ## Traverses the node and gets the given value. If any of the
   ## keys do not exist, returns ``nil``. Also returns ``nil`` if one of the
   ## intermediate data structures is not an object.
-  ## Can be used to create tree structures on the fly (sometimes called `autovivification`:idx:):
+  ##
+  ## This proc can be used to create tree structures on the
+  ## fly (sometimes called `autovivification`:idx:):
   ##
   ## .. code-block:: nim
   ##   myjson{"parent", "child", "grandchild"} = newJInt(1)