Merge pull request #5981 from ftsf/patch-1
Fix `deepCopy` incorrect argument description.
This commit is contained in:
commit
d3e93a1da9
1 changed files with 2 additions and 1 deletions
|
|
@ -3774,7 +3774,8 @@ proc locals*(): RootObj {.magic: "Plugin", noSideEffect.} =
|
||||||
|
|
||||||
when hasAlloc and not defined(nimscript) and not defined(JS):
|
when hasAlloc and not defined(nimscript) and not defined(JS):
|
||||||
proc deepCopy*[T](x: var T, y: T) {.noSideEffect, magic: "DeepCopy".} =
|
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``.
|
## for the implementation of ``spawn``.
|
||||||
discard
|
discard
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue