From 5d61abd72902e551f58150aa6d65a4273144a57c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ja=C5=ADhien=20Piatlicki?= Date: Fri, 2 Aug 2024 16:13:21 +0200 Subject: [PATCH] Fix method visibility --- asynchronix/examples/external_input.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asynchronix/examples/external_input.rs b/asynchronix/examples/external_input.rs index 8aeb609..22877b9 100644 --- a/asynchronix/examples/external_input.rs +++ b/asynchronix/examples/external_input.rs @@ -79,7 +79,7 @@ impl Listener { } /// Periodically scheduled function that processes external events. - pub async fn process(&mut self) { + async fn process(&mut self) { loop { if let Ok(message) = self.rx.try_recv() { self.message.send(message).await;