@@ -652,9 +652,6 @@ impl Write for Stdout {
652
652
fn write_all ( & mut self , buf : & [ u8 ] ) -> io:: Result < ( ) > {
653
653
self . lock ( ) . write_all ( buf)
654
654
}
655
- fn write_fmt ( & mut self , args : fmt:: Arguments < ' _ > ) -> io:: Result < ( ) > {
656
- self . lock ( ) . write_fmt ( args)
657
- }
658
655
fn write_all_vectored ( & mut self , bufs : & mut [ IoSlice < ' _ > ] ) -> io:: Result < ( ) > {
659
656
self . lock ( ) . write_all_vectored ( bufs)
660
657
}
@@ -680,9 +677,6 @@ impl Write for StdoutLock<'_> {
680
677
fn write_all_vectored ( & mut self , bufs : & mut [ IoSlice < ' _ > ] ) -> io:: Result < ( ) > {
681
678
self . inner . borrow_mut ( ) . write_all_vectored ( bufs)
682
679
}
683
- fn write_fmt ( & mut self , fmt : fmt:: Arguments < ' _ > ) -> io:: Result < ( ) > {
684
- self . inner . borrow_mut ( ) . write_fmt ( fmt)
685
- }
686
680
}
687
681
688
682
#[ stable( feature = "std_debug" , since = "1.16.0" ) ]
@@ -838,9 +832,6 @@ impl Write for Stderr {
838
832
fn write_all ( & mut self , buf : & [ u8 ] ) -> io:: Result < ( ) > {
839
833
self . lock ( ) . write_all ( buf)
840
834
}
841
- fn write_fmt ( & mut self , args : fmt:: Arguments < ' _ > ) -> io:: Result < ( ) > {
842
- self . lock ( ) . write_fmt ( args)
843
- }
844
835
fn write_all_vectored ( & mut self , bufs : & mut [ IoSlice < ' _ > ] ) -> io:: Result < ( ) > {
845
836
self . lock ( ) . write_all_vectored ( bufs)
846
837
}
@@ -866,9 +857,6 @@ impl Write for StderrLock<'_> {
866
857
fn write_all_vectored ( & mut self , bufs : & mut [ IoSlice < ' _ > ] ) -> io:: Result < ( ) > {
867
858
self . inner . borrow_mut ( ) . write_all_vectored ( bufs)
868
859
}
869
- fn write_fmt ( & mut self , fmt : fmt:: Arguments < ' _ > ) -> io:: Result < ( ) > {
870
- self . inner . borrow_mut ( ) . write_fmt ( fmt)
871
- }
872
860
}
873
861
874
862
#[ stable( feature = "std_debug" , since = "1.16.0" ) ]
0 commit comments