File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ impl Write for Stderr {
117117
118118 // Start the operation asynchronously.
119119 * state = State :: Busy ( blocking:: spawn ( async move {
120- let res = std:: io:: Write :: write ( & mut inner. stderr , & mut inner. buf ) ;
120+ let res = std:: io:: Write :: write ( & mut inner. stderr , & inner. buf ) ;
121121 inner. last_op = Some ( Operation :: Write ( res) ) ;
122122 State :: Idle ( Some ( inner) )
123123 } ) ) ;
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ impl Write for Stdout {
117117
118118 // Start the operation asynchronously.
119119 * state = State :: Busy ( blocking:: spawn ( async move {
120- let res = std:: io:: Write :: write ( & mut inner. stdout , & mut inner. buf ) ;
120+ let res = std:: io:: Write :: write ( & mut inner. stdout , & inner. buf ) ;
121121 inner. last_op = Some ( Operation :: Write ( res) ) ;
122122 State :: Idle ( Some ( inner) )
123123 } ) ) ;
You can’t perform that action at this time.
0 commit comments