From 3bce93e9b0dad742ffbf62d25f9607ef7651a70c Mon Sep 17 00:00:00 2001 From: Samuel Tardieu Date: Fri, 29 Nov 2024 19:38:31 +0100 Subject: [PATCH] chore: remove unnecessary type conversion (#822) --- 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 {