Skip to content

Commit cf2cd41

Browse files
committed
wip
1 parent 2d44165 commit cf2cd41

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/rcvlink.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,7 @@ impl ReceiverLinkInner {
390390
.connection()
391391
.config()
392392
.write_buf()
393-
.buf_with_capacity(msg.encoded_size())
394-
.into();
393+
.buf_with_capacity(msg.encoded_size());
395394
msg.encode(&mut buf);
396395
buf
397396
}
@@ -402,7 +401,6 @@ impl ReceiverLinkInner {
402401
.config()
403402
.write_buf()
404403
.buf_with_capacity(16)
405-
.into()
406404
};
407405
self.partial_body = Some(body);
408406

src/session.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,8 +1261,7 @@ impl SessionInner {
12611261
.sink
12621262
.config()
12631263
.write_buf()
1264-
.buf_with_capacity(msg.encoded_size())
1265-
.into();
1264+
.buf_with_capacity(msg.encoded_size());
12661265
msg.encode(&mut buf);
12671266
buf.freeze()
12681267
}

0 commit comments

Comments
 (0)