File tree 2 files changed +4
-6
lines changed
2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 9
9
// pp-exact:dollar-crate.pp
10
10
11
11
fn main() {
12
- { ::std::io::_print(::core::fmt::Arguments::new_v1(&[ " rust\n " ], &[] )); };
12
+ { ::std::io::_print(::core::fmt::Arguments::from_static_str( " rust\n " )); };
13
13
}
Original file line number Diff line number Diff line change 32
32
({
33
33
let res =
34
34
((::alloc::fmt::format as
35
- for<' r> fn(Arguments<' r>) -> String {format })(((::core::fmt::Arguments::new_v1
35
+ for<' r> fn(Arguments<' r>) -> String {format })(((::core::fmt::Arguments::from_static_str
36
36
as
37
- fn(&[&' static str], &[ArgumentV1]) -> Arguments {Arguments::new_v1})((&([("test"
38
- as &str)] as [&str; 1]) as &[&str; 1]),
39
- (&([] as [ArgumentV1; 0]) as &[ArgumentV1; 0])) as
40
- Arguments)) as String);
37
+ fn(&' static str) -> Arguments {Arguments::from_static_str})(("test"
38
+ as &str)) as Arguments)) as String);
41
39
(res as String)
42
40
} as String);
43
41
} as ())
You can’t perform that action at this time.
0 commit comments