From 8871c85022d1d98829bcca1c1a778eaa222ec857 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Fri, 21 Jun 2024 16:22:27 +0200 Subject: [PATCH] rtic-sync: clippy::new-without-default lint --- rtic-sync/src/signal.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rtic-sync/src/signal.rs b/rtic-sync/src/signal.rs index 0a26b4c623..017be8a353 100644 --- a/rtic-sync/src/signal.rs +++ b/rtic-sync/src/signal.rs @@ -12,6 +12,7 @@ enum Store { } /// A "latest only" value store with unlimited writers and async waiting. +#[derive(Default)] pub struct Signal { waker: CriticalSectionWakerRegistration, store: UnsafeCell>,