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> {
675675 fn write_vectored ( & mut self , bufs : & [ io:: IoSlice < ' _ > ] ) -> io:: Result < usize > {
676676 let vectors = bufs
677677 . iter ( )
678- . map ( |v| OutputVector :: new ( & * * v) )
678+ . map ( |v| OutputVector :: new ( v) )
679679 . collect :: < smallvec:: SmallVec < [ _ ; 2 ] > > ( ) ;
680680 let result = self
681681 . 0
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ impl<T: IsA<PollableOutputStream>> AsyncWrite for OutputStreamAsyncWrite<T> {
242242 let stream = Pin :: get_ref ( self . as_ref ( ) ) ;
243243 let vectors = bufs
244244 . iter ( )
245- . map ( |v| OutputVector :: new ( & * * v) )
245+ . map ( |v| OutputVector :: new ( v) )
246246 . collect :: < smallvec:: SmallVec < [ _ ; 2 ] > > ( ) ;
247247 let gio_result = stream
248248 . 0
You can’t perform that action at this time.
0 commit comments