File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments