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 34d5801 commit 895aa41
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 @@ -584,6 +584,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 895aa41

Please sign in to comment.