Simplify expansion for format_args!().
Instead of calling new(), we can just use a struct expression directly. Before: Placeholder::new(…, …, …, …) After: Placeholder { position: …, flags: …, width: …, precision: …, }
This commit is contained in:
parent
5cc60728e7
commit
cc5ee70b1a
3 changed files with 18 additions and 22 deletions
|
@ -986,6 +986,7 @@ symbols! {
|
|||
field_init_shorthand,
|
||||
file,
|
||||
file_options,
|
||||
flags,
|
||||
float,
|
||||
float_to_int_unchecked,
|
||||
floorf128,
|
||||
|
@ -1570,6 +1571,7 @@ symbols! {
|
|||
pointer_like,
|
||||
poll,
|
||||
poll_next,
|
||||
position,
|
||||
post_dash_lto: "post-lto",
|
||||
postfix_match,
|
||||
powerpc_target_feature,
|
||||
|
@ -1585,6 +1587,7 @@ symbols! {
|
|||
precise_capturing,
|
||||
precise_capturing_in_traits,
|
||||
precise_pointer_size_matching,
|
||||
precision,
|
||||
pref_align_of,
|
||||
prefetch_read_data,
|
||||
prefetch_read_instruction,
|
||||
|
@ -2274,6 +2277,7 @@ symbols! {
|
|||
wasm_target_feature,
|
||||
where_clause_attrs,
|
||||
while_let,
|
||||
width,
|
||||
windows,
|
||||
windows_subsystem,
|
||||
with_negative_coherence,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue