From b273128990f1bab01925d10f221f0e2f8dab2590 Mon Sep 17 00:00:00 2001 From: Bob McWhirter Date: Mon, 15 Aug 2022 11:20:35 -0400 Subject: [PATCH] Add documentation to Signal::poll_wait(..). --- embassy-util/src/channel/signal.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/embassy-util/src/channel/signal.rs b/embassy-util/src/channel/signal.rs index ff53934e..05889f5a 100644 --- a/embassy-util/src/channel/signal.rs +++ b/embassy-util/src/channel/signal.rs @@ -69,6 +69,7 @@ impl Signal { }) } + /// Manually poll the Signal future. pub fn poll_wait(&self, cx: &mut Context<'_>) -> Poll { critical_section::with(|_| unsafe { let state = &mut *self.state.get();