summaryrefslogtreecommitdiff
path: root/src/ion.rs
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2023-12-31 15:15:03 -0800
committerJesse Morgan <jesse@jesterpm.net>2023-12-31 15:15:03 -0800
commitaceb44fa5153a33eb8013be41f1c455ca424f92d (patch)
tree05f581bd267a551f2a648dd3444fa1fe136af931 /src/ion.rs
parent8251c51e80e59d78d86be504535a3faf3149434a (diff)
Implement Invoke, Yield, and Return ops
Javascript functions can now return values.
Diffstat (limited to 'src/ion.rs')
-rw-r--r--src/ion.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ion.rs b/src/ion.rs
index cbfae24..65f5d23 100644
--- a/src/ion.rs
+++ b/src/ion.rs
@@ -18,7 +18,7 @@ pub enum IonType {
Annotations = 0x0e,
}
-#[derive(PartialOrd, PartialEq)]
+#[derive(PartialOrd, PartialEq, Clone)]
pub struct IonValue(Vec<u8>);
impl IonValue {