From 1ddf10b23bc79c0140b477fda4554607f5936016 Mon Sep 17 00:00:00 2001 From: impbox Date: Tue, 13 Jun 2017 23:21:38 +1000 Subject: [PATCH] Create system.nim Fix `deepCopy` incorrect argument description. --- lib/system.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/system.nim b/lib/system.nim index 49f24c9730..0e94bcc231 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -3774,7 +3774,8 @@ proc locals*(): RootObj {.magic: "Plugin", noSideEffect.} = when hasAlloc and not defined(nimscript) and not defined(JS): proc deepCopy*[T](x: var T, y: T) {.noSideEffect, magic: "DeepCopy".} = - ## performs a deep copy of `x`. This is also used by the code generator + ## performs a deep copy of `y` and copies it into `x`. + ## This is also used by the code generator ## for the implementation of ``spawn``. discard