summary refs log tree commit diff stats
path: root/src/pattern.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/pattern.rs')
-rw-r--r--src/pattern.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pattern.rs b/src/pattern.rs
index a0c0ec3..6795481 100644
--- a/src/pattern.rs
+++ b/src/pattern.rs
@@ -42,12 +42,12 @@ impl<O: Serialize> Pattern<O> {
         De: Deserialize<'de>,
     {
         let mut err = Default::default();
-        let frames = Default::default();
+        let mut frames = Default::default();
         //let mut output = Default::default();
         let interp = vm::Interpreter::new(
             &self.consts,
             &mut err,
-            &frames,
+            &mut frames,
             //&mut output,
         );
         let (pack, obj) = vm::Packer::new(interp, MAX_CALLS).deserialize(der)?;