mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 19:53:46 +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 |