File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1006,7 +1006,7 @@ macro_rules! impl_formatting {
10061006 ( $fmt_trait: ident, $prefix: expr, $fmt_str: expr, $fmt_alt: expr) => {
10071007 impl <T : $fmt_trait + Clone + Integer > $fmt_trait for Ratio <T > {
10081008 #[ cfg( feature = "std" ) ]
1009- fn fmt( & self , f: & mut Formatter ) -> fmt:: Result {
1009+ fn fmt( & self , f: & mut Formatter < ' _> ) -> fmt:: Result {
10101010 let pre_pad = if self . denom. is_one( ) {
10111011 format!( $fmt_str, self . numer)
10121012 } else {
@@ -1027,7 +1027,7 @@ macro_rules! impl_formatting {
10271027 f. pad_integral( non_negative, $prefix, pre_pad)
10281028 }
10291029 #[ cfg( not( feature = "std" ) ) ]
1030- fn fmt( & self , f: & mut Formatter ) -> fmt:: Result {
1030+ fn fmt( & self , f: & mut Formatter < ' _> ) -> fmt:: Result {
10311031 let plus = if f. sign_plus( ) && self . numer >= T :: zero( ) {
10321032 "+"
10331033 } else {
You can’t perform that action at this time.
0 commit comments