File tree Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -105,8 +105,7 @@ macro_rules! vec {
105
105
macro_rules! format {
106
106
( $( $arg: tt) * ) => {
107
107
$crate:: __export:: must_use( {
108
- let res = $crate:: fmt:: format( $crate:: __export:: format_args!( $( $arg) * ) ) ;
109
- res
108
+ $crate:: fmt:: format( $crate:: __export:: format_args!( $( $arg) * ) )
110
109
} )
111
110
}
112
111
}
Original file line number Diff line number Diff line change 31
31
32
32
( ( :: alloc:: __export:: must_use as
33
33
fn ( String ) -> String { must_use :: < String > } ) ( ( {
34
- let res =
35
- ((::alloc::fmt::format as
36
- for<' a> fn(Arguments<' a>) -> String {format })(((format_arguments::new_const
37
- as
38
- fn(&[&' static str; 1]) -> Arguments<' _> {Arguments::<' _>::new_const::<1>})((&([("test"
39
- as &str)] as [&str; 1]) as &[&str; 1])) as Arguments<' _>))
40
- as String);
41
- (res as String)
34
+ ( ( :: alloc:: fmt:: format as
35
+ for <' a > fn ( Arguments < ' a > ) -> String { format} ) ( ( ( format_arguments:: new_const
36
+ as
37
+ fn ( & [ & ' static str ; 1 ] ) -> Arguments < ' _ > { Arguments :: < ' _ > :: new_const :: < 1 > } ) ( ( & ( [ ( "test"
38
+ as & str ) ] as [ & str ; 1 ] ) as & [ & str ; 1 ] ) ) as Arguments < ' _ > ) )
39
+ as String )
42
40
} as String ) ) as String ) ;
43
41
} as ( ) )
44
42
type Foo = [ i32 ; ( 3 as usize ) ] ;
You can’t perform that action at this time.
0 commit comments