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 @@ -655,6 +655,9 @@ impl Write for Stdout {
655655 fn write_all_vectored ( & mut self , bufs : & mut [ IoSlice < ' _ > ] ) -> io:: Result < ( ) > {
656656 self . lock ( ) . write_all_vectored ( bufs)
657657 }
658+ fn write_fmt ( & mut self , args : fmt:: Arguments < ' _ > ) -> io:: Result < ( ) > {
659+ self . lock ( ) . write_fmt ( args)
660+ }
658661}
659662#[ stable( feature = "rust1" , since = "1.0.0" ) ]
660663impl Write for StdoutLock < ' _ > {
@@ -835,6 +838,9 @@ impl Write for Stderr {
835838 fn write_all_vectored ( & mut self , bufs : & mut [ IoSlice < ' _ > ] ) -> io:: Result < ( ) > {
836839 self . lock ( ) . write_all_vectored ( bufs)
837840 }
841+ fn write_fmt ( & mut self , args : fmt:: Arguments < ' _ > ) -> io:: Result < ( ) > {
842+ self . lock ( ) . write_fmt ( args)
843+ }
838844}
839845#[ stable( feature = "rust1" , since = "1.0.0" ) ]
840846impl Write for StderrLock < ' _ > {
You can’t perform that action at this time.
0 commit comments