rust/library/core
Mara Bos a7a7737114
Rollup merge of #84013 - CDirkx:fmt, r=m-ou-se
Replace all `fmt.pad` with `debug_struct`

This replaces any occurrence of:
- `f.pad("X")` with `f.debug_struct("X").finish()`
- `f.pad("X { .. }")` with `f.debug_struct("X").finish_non_exhaustive()`

This is in line with existing formatting code such as
1255053067/library/std/src/sync/mpsc/mod.rs (L1470-L1475)
2021-04-21 23:06:11 +02:00
..
benches add bench 2021-03-18 00:25:20 +01:00
src Rollup merge of #84013 - CDirkx:fmt, r=m-ou-se 2021-04-21 23:06:11 +02:00
tests Allow use of deprecated std::raw in a test for that feature 2021-04-15 19:16:18 +02:00
Cargo.toml Auto merge of #82271 - Aaron1011:debug-refcell, r=m-ou-se 2021-03-23 04:49:47 +00:00