Skip to content

Commit 3cc55fd

Browse files
committed
chore: remove unnecessary type conversion
1 parent cffea95 commit 3cc55fd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/proto/streams/streams.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -1265,10 +1265,7 @@ impl<B> StreamRef<B> {
12651265

12661266
let mut stream = me.store.resolve(self.opaque.key);
12671267

1268-
me.actions
1269-
.send
1270-
.poll_reset(cx, &mut stream, mode)
1271-
.map_err(From::from)
1268+
me.actions.send.poll_reset(cx, &mut stream, mode)
12721269
}
12731270

12741271
pub fn clone_to_opaque(&self) -> OpaqueStreamRef {

0 commit comments

Comments
 (0)