We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5dc68a commit 9a8f51eCopy full SHA for 9a8f51e
src/gpio.rs
@@ -1590,7 +1590,7 @@ mod atomic_notification {
1590
self.triggered.store(true, Ordering::SeqCst);
1591
self.waker.wake();
1592
}
1593
- pub fn poll_wait(&self, cx: &mut Context<'_>) -> Poll<()> {
+ pub fn poll_wait(&self, cx: &Context<'_>) -> Poll<()> {
1594
self.waker.register(cx.waker());
1595
1596
if self.triggered.swap(false, Ordering::SeqCst) {
0 commit comments