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,
}
|
||
|---|---|---|
| .. | ||
| rt | ||
| builders.rs | ||
| float.rs | ||
| mod.rs | ||
| num.rs | ||