From 85d45cf0efe8b76c7f020e16bb8551935a90da13 Mon Sep 17 00:00:00 2001 From: Lawrence Bethlenfalvy Date: Thu, 11 Dec 2025 16:33:49 +0100 Subject: [PATCH] Unboxed whatever I coul --- orchid-base/src/reqnot.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/orchid-base/src/reqnot.rs b/orchid-base/src/reqnot.rs index e42daea..9c2c07d 100644 --- a/orchid-base/src/reqnot.rs +++ b/orchid-base/src/reqnot.rs @@ -318,10 +318,10 @@ pub async fn io_comm( ); { let mut shared = pin!(stream_select!( - Box::pin(input_stream) as Pin>>, - Box::pin(onsub.map(Event::Sub)) as Pin>>, - Box::pin(fork_stream.as_mut()) as Pin>>, - Box::pin(onexit.map(|()| Event::Exit)) as Pin>>, + pin!(input_stream) as Pin<&mut dyn Stream>, + onsub.map(Event::Sub), + fork_stream.as_mut(), + onexit.map(|()| Event::Exit), )); let mut pending_replies = HashMap::new(); while let Some(next) = shared.next().await {