diff options
author | flaviut <tamasflaviu@gmail.com> | 2014-04-13 17:05:12 -0400 |
---|---|---|
committer | flaviut <tamasflaviu@gmail.com> | 2014-04-13 17:05:12 -0400 |
commit | 4ff511280301d53ebac3a473f988d93ba9c065e2 (patch) | |
tree | 450ea681440c3714ef2035c0e53d9fb3a3df72d4 /lib/pure | |
parent | 6d3fbf973f1b0f6cc492b67f30cea74e5b33fbf8 (diff) | |
download | Nim-4ff511280301d53ebac3a473f988d93ba9c065e2.tar.gz |
Add a couple words to docs
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/json.nim | 2 |
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) |