about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2019-04-03 07:30:08 -0700
committerDavid Tolnay <dtolnay@gmail.com>2019-04-05 06:45:40 -0700
commitcfd31fb4df214ab84a917ba9afd148ed13d01a3a (patch)
treea972f0e3523c487eddc5db4a636617365f23d93b /src/libstd/sys/unix/stack_overflow.rs
parenta781c47243a5ebde3f84a9635ffddd1cfc82ed9c (diff)
downloadrust-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