diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2021-04-21 23:06:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-21 23:06:21 +0200 |
| commit | 49a5c80a3bbe96903be207ec04bb08bfd14cb9e4 (patch) | |
| tree | 9c52361f863d8a15632b50fe638ea535e7e9c2ad /library/std/src/sys/hermit/stack_overflow.rs | |
| parent | 2cddda3af1556fcebd4471c9ddaade92b7ac0024 (diff) | |
| parent | 82dc73b1aef4a687466e00d87c5791b2a04d28f9 (diff) | |
| download | rust-49a5c80a3bbe96903be207ec04bb08bfd14cb9e4.tar.gz rust-49a5c80a3bbe96903be207ec04bb08bfd14cb9e4.zip | |
Rollup merge of #84390 - m-ou-se:make-debug-non-exhaustive-without-fields-a-little-bit-less-verbose, r=kennytm
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,
..
}
Diffstat (limited to 'library/std/src/sys/hermit/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
