Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Nov 21, 2024
1 parent b16ab06 commit 86bffc2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions esp-hal/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,12 @@ pub mod asynch {
waker: Locked<Option<Waker>>,
}

impl Default for AtomicWaker {
fn default() -> Self {
Self::new()
}
}

impl AtomicWaker {
/// Create a new `AtomicWaker`.
pub const fn new() -> Self {
Expand Down

0 comments on commit 86bffc2

Please sign in to comment.