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 @@ -675,7 +675,7 @@ impl<T: IsA<OutputStream>> io::Write for OutputStreamWrite<T> {
675
675
fn write_vectored ( & mut self , bufs : & [ io:: IoSlice < ' _ > ] ) -> io:: Result < usize > {
676
676
let vectors = bufs
677
677
. iter ( )
678
- . map ( |v| OutputVector :: new ( & * * v) )
678
+ . map ( |v| OutputVector :: new ( v) )
679
679
. collect :: < smallvec:: SmallVec < [ _ ; 2 ] > > ( ) ;
680
680
let result = self
681
681
. 0
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ impl<T: IsA<PollableOutputStream>> AsyncWrite for OutputStreamAsyncWrite<T> {
242
242
let stream = Pin :: get_ref ( self . as_ref ( ) ) ;
243
243
let vectors = bufs
244
244
. iter ( )
245
- . map ( |v| OutputVector :: new ( & * * v) )
245
+ . map ( |v| OutputVector :: new ( v) )
246
246
. collect :: < smallvec:: SmallVec < [ _ ; 2 ] > > ( ) ;
247
247
let gio_result = stream
248
248
. 0
You can’t perform that action at this time.
0 commit comments