rtic-sync: clippy::new-without-default lint

This commit is contained in:
Henrik Tjäder 2024-06-21 16:22:27 +02:00 committed by Emil Fresk
parent d89f91109f
commit 8871c85022

View file

@ -12,6 +12,7 @@ enum Store<T> {
}
/// A "latest only" value store with unlimited writers and async waiting.
#[derive(Default)]
pub struct Signal<T: Copy> {
waker: CriticalSectionWakerRegistration,
store: UnsafeCell<Store<T>>,