From 3cc55fd9c68d66418668ff7239ae6845d3186438 Mon Sep 17 00:00:00 2001 From: Samuel Tardieu Date: Fri, 29 Nov 2024 16:34:48 +0100 Subject: [PATCH] chore: remove unnecessary type conversion --- src/proto/streams/streams.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/proto/streams/streams.rs b/src/proto/streams/streams.rs index 7b5c7669..875b6103 100644 --- a/src/proto/streams/streams.rs +++ b/src/proto/streams/streams.rs @@ -1265,10 +1265,7 @@ impl StreamRef { let mut stream = me.store.resolve(self.opaque.key); - me.actions - .send - .poll_reset(cx, &mut stream, mode) - .map_err(From::from) + me.actions.send.poll_reset(cx, &mut stream, mode) } pub fn clone_to_opaque(&self) -> OpaqueStreamRef {