This reverts commit a3e9cc5234.
This commit is contained in:
parent
d938c6411e
commit
bc9967f05a
3 changed files with 1 additions and 28 deletions
|
|
@ -264,11 +264,6 @@ proc move*[T](x: var T): T {.magic: "Move", noSideEffect.} =
|
|||
result = x
|
||||
wasMoved(x)
|
||||
|
||||
func copy*[T](x: T): T {.inline.} =
|
||||
## make explicit copy of the argument `x`, used to signal to the compiler
|
||||
## the copy is intentional
|
||||
result = x
|
||||
|
||||
type
|
||||
range*[T]{.magic: "Range".} ## Generic type to construct range types.
|
||||
array*[I, T]{.magic: "Array".} ## Generic type to construct
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue