From 895aa414f4710fcac7bf78b8d805b0f2ea37a55e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Buga?= Date: Mon, 18 Nov 2024 15:25:38 +0100 Subject: [PATCH] Clippy --- esp-hal/src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/esp-hal/src/lib.rs b/esp-hal/src/lib.rs index 671462462a..df47305f02 100644 --- a/esp-hal/src/lib.rs +++ b/esp-hal/src/lib.rs @@ -584,6 +584,12 @@ pub mod asynch { waker: Locked>, } + impl Default for AtomicWaker { + fn default() -> Self { + Self::new() + } + } + impl AtomicWaker { /// Create a new `AtomicWaker`. pub const fn new() -> Self {