Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Jul 22, 2023
1 parent a5dc68a commit 9a8f51e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gpio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1590,7 +1590,7 @@ mod atomic_notification {
self.triggered.store(true, Ordering::SeqCst);
self.waker.wake();
}
pub fn poll_wait(&self, cx: &mut Context<'_>) -> Poll<()> {
pub fn poll_wait(&self, cx: &Context<'_>) -> Poll<()> {
self.waker.register(cx.waker());

if self.triggered.swap(false, Ordering::SeqCst) {
Expand Down

0 comments on commit 9a8f51e

Please sign in to comment.