summaryrefslogtreecommitdiff
path: root/crates/types/src
diff options
context:
space:
mode:
authorHenry Gressmann <mail@henrygressmann.de>2024-01-27 00:43:32 +0100
committerHenry Gressmann <mail@henrygressmann.de>2024-01-27 00:43:32 +0100
commita89f75ce42f83de09bad72c1baf697a007751b1b (patch)
tree40541a89de89df89b36eb4586d821267a466b362 /crates/types/src
parent55b69039c954b49cb98f90c30d58187b9741f545 (diff)
pref: use Rc's for Module Instances
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'crates/types/src')
-rw-r--r--crates/types/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/types/src/lib.rs b/crates/types/src/lib.rs
index 365ead7..3729e1a 100644
--- a/crates/types/src/lib.rs
+++ b/crates/types/src/lib.rs
@@ -480,7 +480,7 @@ pub struct Element {
pub ty: ValType,
}
-#[derive(Debug, Clone, PartialEq)]
+#[derive(Debug, Clone, Copy, PartialEq)]
pub enum ElementKind {
Passive,
Active { table: TableAddr, offset: ConstInstruction },