From 9a8f51e6b4febaab8a760983157f1cf5ed1798aa Mon Sep 17 00:00:00 2001 From: ivmarkov Date: Sat, 22 Jul 2023 06:19:13 +0000 Subject: [PATCH] Clippy --- src/gpio.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpio.rs b/src/gpio.rs index 8cecaad57a1..d3f413e43ad 100644 --- a/src/gpio.rs +++ b/src/gpio.rs @@ -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) {