summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/system.nim')
-rw-r--r--lib/system.nim5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/system.nim b/lib/system.nim
index dbe0f11f7..c05ca24dc 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -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