File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -820,6 +820,9 @@ impl Write for StdoutLock<'_> {
820820 fn write_all_vectored ( & mut self , bufs : & mut [ IoSlice < ' _ > ] ) -> io:: Result < ( ) > {
821821 self . inner . borrow_mut ( ) . write_all_vectored ( bufs)
822822 }
823+ fn write_fmt ( & mut self , fmt : fmt:: Arguments < ' _ > ) -> io:: Result < ( ) > {
824+ self . inner . borrow_mut ( ) . write_fmt ( fmt)
825+ }
823826}
824827
825828#[ stable( feature = "std_debug" , since = "1.16.0" ) ]
@@ -1052,6 +1055,9 @@ impl Write for StderrLock<'_> {
10521055 fn write_all_vectored ( & mut self , bufs : & mut [ IoSlice < ' _ > ] ) -> io:: Result < ( ) > {
10531056 self . inner . borrow_mut ( ) . write_all_vectored ( bufs)
10541057 }
1058+ fn write_fmt ( & mut self , fmt : fmt:: Arguments < ' _ > ) -> io:: Result < ( ) > {
1059+ self . inner . borrow_mut ( ) . write_fmt ( fmt)
1060+ }
10551061}
10561062
10571063#[ stable( feature = "std_debug" , since = "1.16.0" ) ]
You can’t perform that action at this time.
0 commit comments