Fix cargo check on examples

This commit is contained in:
Jonathan Kelley committed 2024-01-30 17:59:57 -08:00
1 parent 0bd9692e45
commit a72c035de4
42 files changed
+95 -145

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ fn Dice() -> Element {
svg {
view_box: "-1000 -1000 2000 2000",
prevent_default: "onclick",
onclick: move |e| value.set(thread_rng().gen_range(1..=6)),
onclick: move |_| value.set(thread_rng().gen_range(1..=6)),
rect { x: -1000, y: -1000, width: 2000, height: 2000, rx: 200, fill: "#aaa" }
for ((x, y), _) in DOTS.iter().zip(active_dots.read().iter()).filter(|(_, &active)| active) {
circle {