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