aboutsummaryrefslogtreecommitdiff
path: root/lvc/src/decode.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lvc/src/decode.rs')
-rw-r--r--lvc/src/decode.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lvc/src/decode.rs b/lvc/src/decode.rs
index b4f2391..da69080 100644
--- a/lvc/src/decode.rs
+++ b/lvc/src/decode.rs
@@ -3,7 +3,7 @@ use crate::{split::split, Block, Frame, View, P2};
pub fn decode(last_frame: &Frame, frame: &mut Frame, view: View, block: &Block) {
match block {
Block::Lit(pxs) => frame.import(view, &pxs),
- Block::Split([a, b]) => {
+ Block::Split(a, b) => {
let [av, bv] = split(view);
decode(last_frame, frame, av, &a);
decode(last_frame, frame, bv, &b);