fix JSON deep copy description (#23495)

Hi,

This is a tiny change, fixing the error in the documentation of JSON's
deep copy proc.
This commit is contained in:
Pouriya Jamshidi
2024-04-12 08:14:33 +02:00
committed by GitHub
parent 779bc8474b
commit 1bd0955218

View File

@@ -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)