From 32df5ec4416a2847b88a66609150818ea71f1cc9 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 28 Mar 2022 18:58:01 +0100 Subject: [PATCH] COMPILES --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 70d0717..1991011 100644 --- a/src/main.rs +++ b/src/main.rs @@ -7,7 +7,7 @@ async fn awaitpoint() { } async fn failure() { let (_, rx) = mpsc::channel::<()>(); - while let Ok(event) = rx.try_recv() { + while let Ok(event) = { let k= ℞ let y = k.recv(); drop(k); y } { while let Ok(_ignore) = rx.try_recv() { } eprintln!("event={:?}", event); -- 2.30.2