summaryrefslogtreecommitdiff
path: root/std/mem.zc
diff options
context:
space:
mode:
authorZuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian>2026-01-20 10:49:40 +0000
committerZuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian>2026-01-20 10:49:40 +0000
commitf027a812707d68ca0690b7544175b9f302dd57ad (patch)
tree8ca82006fa3213215ff7b70bec5e49e8421413ff /std/mem.zc
parent856198b2ea473a4fd2cd020e58db821265b21ca5 (diff)
Copy trait...
Diffstat (limited to 'std/mem.zc')
-rw-r--r--std/mem.zc6
1 files changed, 6 insertions, 0 deletions
diff --git a/std/mem.zc b/std/mem.zc
index 5f4de36..6627d72 100644
--- a/std/mem.zc
+++ b/std/mem.zc
@@ -15,6 +15,12 @@ trait Drop {
fn drop(self);
}
+trait Copy {}
+
+trait Clone {
+ // fn clone(self) -> Self;
+}
+
struct Box<T> {
ptr: T*;
}