From 53a6e6616128284e847c343133de9fe9cbf7e8ef Mon Sep 17 00:00:00 2001 From: martinfrances107 Date: Sat, 28 Jun 2025 19:20:23 +0100 Subject: [PATCH] chore: Respond to updated clippy rules status.done().then_some("line-through").unwrap_or_default() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `if status.done() { "line-through" } else { Default::default() }` --- examples/stores/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/stores/src/lib.rs b/examples/stores/src/lib.rs index 88b51856b3..b13aae37ed 100644 --- a/examples/stores/src/lib.rs +++ b/examples/stores/src/lib.rs @@ -159,7 +159,7 @@ fn TodoRow( view! {