diff options
| author | David Tolnay <dtolnay@gmail.com> | 2019-04-03 07:30:08 -0700 |
|---|---|---|
| committer | David Tolnay <dtolnay@gmail.com> | 2019-04-05 06:45:40 -0700 |
| commit | cfd31fb4df214ab84a917ba9afd148ed13d01a3a (patch) | |
| tree | a972f0e3523c487eddc5db4a636617365f23d93b /src/libstd/sys/unix/stack_overflow.rs | |
| parent | a781c47243a5ebde3f84a9635ffddd1cfc82ed9c (diff) | |
| download | rust-cfd31fb4df214ab84a917ba9afd148ed13d01a3a.tar.gz rust-cfd31fb4df214ab84a917ba9afd148ed13d01a3a.zip | |
Include trailing comma in multiline Debug representation
This commit changes the behavior of Formatter::debug_struct,
debug_tuple, debug_list, debug_set, and debug_map to render trailing
commas in {:#?} mode, which is the dominant style in modern Rust code.
Before:
Language {
name: "Rust",
trailing_commas: false
}
After:
Language {
name: "Rust",
trailing_commas: true,
}
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
