mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
rtic-sync: clippy::new-without-default lint
This commit is contained in:
parent
d89f91109f
commit
8871c85022
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ enum Store<T> {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A "latest only" value store with unlimited writers and async waiting.
|
/// A "latest only" value store with unlimited writers and async waiting.
|
||||||
|
#[derive(Default)]
|
||||||
pub struct Signal<T: Copy> {
|
pub struct Signal<T: Copy> {
|
||||||
waker: CriticalSectionWakerRegistration,
|
waker: CriticalSectionWakerRegistration,
|
||||||
store: UnsafeCell<Store<T>>,
|
store: UnsafeCell<Store<T>>,
|
||||||
|
|
Loading…
Reference in a new issue