summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/should_not_format_string_when_format_strings_is_not_set.rs
blob: efb755d4aea868227209eca8a3512d504af59649 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// format_strings is false by default.

println!(
    "DirEntry {{ \
        binary_name: {:<64}, \
        context_id: {:>2}, \
        file_size: {:>6}, \
        offset: 0x {:>08X}, \
        actual_crc: 0x{:>08X} \
    }}",
    dir_entry.binary_name,
    dir_entry.context_id,
    dir_entry.file_size,
    dir_entry.offset,
    dir_entry.actual_crc
);