diff options
| author | Emil Fresk <emil.fresk@gmail.com> | 2024-05-27 10:48:58 +0200 |
|---|---|---|
| committer | Emil Fresk <emil.fresk@gmail.com> | 2024-05-27 11:26:06 +0200 |
| commit | 2efdef6029fc3b38974cea1664aba321f6c63ec4 (patch) | |
| tree | a7e968a88e67801ea0e6b2a924af32374493c7b7 /rtic-common/src/waker_registration.rs | |
| parent | 9989af1b97ce7111939708bb83a3cc9e871a3216 (diff) | |
Fix clippy lints
Diffstat (limited to 'rtic-common/src/waker_registration.rs')
| -rw-r--r-- | rtic-common/src/waker_registration.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rtic-common/src/waker_registration.rs b/rtic-common/src/waker_registration.rs index 174765c..46c8818 100644 --- a/rtic-common/src/waker_registration.rs +++ b/rtic-common/src/waker_registration.rs @@ -64,3 +64,9 @@ impl CriticalSectionWakerRegistration { }); } } + +impl Default for CriticalSectionWakerRegistration { + fn default() -> Self { + Self::new() + } +} |
