From 4ff511280301d53ebac3a473f988d93ba9c065e2 Mon Sep 17 00:00:00 2001 From: flaviut Date: Sun, 13 Apr 2014 17:05:12 -0400 Subject: [PATCH] Add a couple words to docs --- lib/pure/json.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/json.nim b/lib/pure/json.nim index 0ac1f98d44..3e8840e470 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)