summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorflaviut <tamasflaviu@gmail.com>2014-04-13 17:05:12 -0400
committerflaviut <tamasflaviu@gmail.com>2014-04-13 17:05:12 -0400
commit4ff511280301d53ebac3a473f988d93ba9c065e2 (patch)
tree450ea681440c3714ef2035c0e53d9fb3a3df72d4 /lib/pure
parent6d3fbf973f1b0f6cc492b67f30cea74e5b33fbf8 (diff)
downloadNim-4ff511280301d53ebac3a473f988d93ba9c065e2.tar.gz
Add a couple words to docs
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/json.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/json.nim b/lib/pure/json.nim
index 0ac1f98d4..3e8840e47 100644
--- a/lib/pure/json.nim
+++ b/lib/pure/json.nim
@@ -635,7 +635,7 @@ proc `[]`*(node: PJsonNode, name: string, default: PJsonNode = nil): PJsonNode =
   ##   foo["field1"]["field2"]
   ##
   ## If `field1` is undefined, it will return nil, and the access on `field2` will
-  ## pass through. Also returns default if the key is not found.
+  ## pass through and return nil. Also returns default if the key is not found.
   if isNil(node):
     return default
   assert(node.kind == JObject)
/pre>
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16