about summary refs log tree commit diff
path: root/src/librbml/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librbml/lib.rs')
-rw-r--r--src/librbml/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librbml/lib.rs b/src/librbml/lib.rs
index 3e91b988770..e2875ac8ca5 100644
--- a/src/librbml/lib.rs
+++ b/src/librbml/lib.rs
@@ -175,7 +175,7 @@ pub struct TaggedDoc<'a> {
     pub doc: Doc<'a>,
 }
 
-#[derive(Copy, Debug)]
+#[derive(Copy, Clone, Debug)]
 pub enum EbmlEncoderTag {
     // tags 00..1f are reserved for auto-serialization.
     // first NUM_IMPLICIT_TAGS tags are implicitly sized and lengths are not encoded.
@@ -265,7 +265,7 @@ pub mod reader {
         )
     }
 
-    #[derive(Copy)]
+    #[derive(Copy, Clone)]
     pub struct Res {
         pub val: usize,
         pub next: usize