@@ -725,15 +725,15 @@ ToQuaternion<S> for Matrix3<S> {
725725
726726impl < S : PartOrdFloat < S > + fmt:: Show > fmt:: Show for Matrix2 < S > {
727727 fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
728- write ! ( f. buf , "[[{}, {}], [{}, {}]]" ,
728+ write ! ( f, "[[{}, {}], [{}, {}]]" ,
729729 self . cr( 0 , 0 ) , self . cr( 0 , 1 ) ,
730730 self . cr( 1 , 0 ) , self . cr( 1 , 1 ) )
731731 }
732732}
733733
734734impl < S : PartOrdFloat < S > + fmt:: Show > fmt:: Show for Matrix3 < S > {
735735 fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
736- write ! ( f. buf , "[[{}, {}, {}], [{}, {}, {}], [{}, {}, {}]]" ,
736+ write ! ( f, "[[{}, {}, {}], [{}, {}, {}], [{}, {}, {}]]" ,
737737 self . cr( 0 , 0 ) , self . cr( 0 , 1 ) , self . cr( 0 , 2 ) ,
738738 self . cr( 1 , 0 ) , self . cr( 1 , 1 ) , self . cr( 1 , 2 ) ,
739739 self . cr( 2 , 0 ) , self . cr( 2 , 1 ) , self . cr( 2 , 2 ) )
@@ -742,7 +742,7 @@ impl<S: PartOrdFloat<S> + fmt::Show> fmt::Show for Matrix3<S> {
742742
743743impl < S : PartOrdFloat < S > + fmt:: Show > fmt:: Show for Matrix4 < S > {
744744 fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
745- write ! ( f. buf , "[[{}, {}, {}, {}], [{}, {}, {}, {}], [{}, {}, {}, {}], [{}, {}, {}, {}]]" ,
745+ write ! ( f, "[[{}, {}, {}, {}], [{}, {}, {}, {}], [{}, {}, {}, {}], [{}, {}, {}, {}]]" ,
746746 self . cr( 0 , 0 ) , self . cr( 0 , 1 ) , self . cr( 0 , 2 ) , self . cr( 0 , 3 ) ,
747747 self . cr( 1 , 0 ) , self . cr( 1 , 1 ) , self . cr( 1 , 2 ) , self . cr( 1 , 3 ) ,
748748 self . cr( 2 , 0 ) , self . cr( 2 , 1 ) , self . cr( 2 , 2 ) , self . cr( 2 , 3 ) ,
0 commit comments