mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
a7a7737114
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
|
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |