File tree 1 file changed +6
-0
lines changed
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 {
655
655
fn write_all_vectored ( & mut self , bufs : & mut [ IoSlice < ' _ > ] ) -> io:: Result < ( ) > {
656
656
self . lock ( ) . write_all_vectored ( bufs)
657
657
}
658
+ fn write_fmt ( & mut self , args : fmt:: Arguments < ' _ > ) -> io:: Result < ( ) > {
659
+ self . lock ( ) . write_fmt ( args)
660
+ }
658
661
}
659
662
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
660
663
impl Write for StdoutLock < ' _ > {
@@ -835,6 +838,9 @@ impl Write for Stderr {
835
838
fn write_all_vectored ( & mut self , bufs : & mut [ IoSlice < ' _ > ] ) -> io:: Result < ( ) > {
836
839
self . lock ( ) . write_all_vectored ( bufs)
837
840
}
841
+ fn write_fmt ( & mut self , args : fmt:: Arguments < ' _ > ) -> io:: Result < ( ) > {
842
+ self . lock ( ) . write_fmt ( args)
843
+ }
838
844
}
839
845
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
840
846
impl Write for StderrLock < ' _ > {
You can’t perform that action at this time.
0 commit comments