summary refs log tree commit diff stats
path: root/src/pattern.rs
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2022-10-11 09:50:36 -0300
committerSoniEx2 <endermoneymod@gmail.com>2022-10-11 09:50:36 -0300
commite8a11468fefd81c2d9181ca15bceaf71e09a5345 (patch)
tree252b7bf0043ebc4cd4dd589c79a298d47a686730 /src/pattern.rs
parentdcf5620842edb8a4632cde794c8e511e075d3662 (diff)
Initial support for empty and simple patterns
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)?;