diff --git a/src/testing/mod.rs b/src/testing/mod.rs index 0db491c..195ed87 100644 --- a/src/testing/mod.rs +++ b/src/testing/mod.rs @@ -95,7 +95,7 @@ impl Client { switch_button(Color::GREEN, span_test, "span test"), switch_button(Color::BLUE, span_add, "span add test"), ) - .span(Dir::RIGHT, [1, 1, 1]), + .span(Dir::RIGHT, [1; _]), ); let add_button = Rect::new(Color::LIME) .radius(30)