From 2efdef6029fc3b38974cea1664aba321f6c63ec4 Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Mon, 27 May 2024 10:48:58 +0200 Subject: Fix clippy lints --- rtic-time/src/timer_queue.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'rtic-time/src') diff --git a/rtic-time/src/timer_queue.rs b/rtic-time/src/timer_queue.rs index ea2c806..357deb2 100644 --- a/rtic-time/src/timer_queue.rs +++ b/rtic-time/src/timer_queue.rs @@ -87,6 +87,12 @@ impl LinkPtr { unsafe impl Send for LinkPtr {} unsafe impl Sync for LinkPtr {} +impl Default for TimerQueue { + fn default() -> Self { + Self::new() + } +} + impl TimerQueue { /// Make a new queue. pub const fn new() -> Self { -- cgit v1.2.3