mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-24 13:43:04 +00:00
49a5c80a3b
Format `Struct { .. }` on one line even with `{:#?}`. The result of `debug_struct("A").finish_non_exhaustive()` before this change: ``` A { .. } ``` And after this change: ``` A { .. } ``` If there's any fields, the result stays unchanged: ``` A { field: value, .. } |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |