7
Github Format `Struct { .. }` on one line even with `{:#?}`. by m-ou-se · Pull R...
source link: https://github.com/rust-lang/rust/pull/84390
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
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,
..
}
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK