From 1bd095521856d4d1f9fb1b6ba580df3c815196f6 Mon Sep 17 00:00:00 2001 From: Pouriya Jamshidi <54482226+pouriyajamshidi@users.noreply.github.com> Date: Fri, 12 Apr 2024 08:14:33 +0200 Subject: [PATCH] fix JSON deep copy description (#23495) Hi, This is a tiny change, fixing the error in the documentation of JSON's deep copy proc. --- 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 5f076ebe0230..485b8918c627 100644 --- a/lib/pure/json.nim +++ b/lib/pure/json.nim @@ -634,7 +634,7 @@ proc delete*(obj: JsonNode, key: string) = obj.fields.del(key) proc copy*(p: JsonNode): JsonNode = - ## Performs a deep copy of `a`. + ## Performs a deep copy of `p`. case p.kind of JString: result = newJString(p.str)