rust/library/alloc
bors 4ba4ac612d Auto merge of #134443 - joshtriplett:use-field-init-shorthand, r=lqd,tgross35,nnethercote
Use field init shorthand where possible

Field init shorthand allows writing initializers like `tcx: tcx` as
`tcx`. The compiler already uses it extensively. Fix the last few places
where it isn't yet used.

EDIT: this PR also updates `rustfmt.toml` to set
`use_field_init_shorthand = true`.
2024-12-18 19:16:15 +00:00
..
benches update cfgs 2024-11-27 15:14:54 +00:00
src Auto merge of #134443 - joshtriplett:use-field-init-shorthand, r=lqd,tgross35,nnethercote 2024-12-18 19:16:15 +00:00
tests Add a range argument to vec.extract_if 2024-12-16 22:06:52 +01:00
Cargo.toml Update compiler_builtins to 0.1.138 and pin it 2024-11-03 17:43:16 -06:00