Skip to content

Commit

Permalink
chore: remove unnecessary type conversion (#822)
Browse files Browse the repository at this point in the history
  • Loading branch information
samueltardieu authored Nov 29, 2024
1 parent cffea95 commit 3bce93e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/proto/streams/streams.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1265,10 +1265,7 @@ impl<B> StreamRef<B> {

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 {
Expand Down

0 comments on commit 3bce93e

Please sign in to comment.