mirror of
https://github.com/rust-lang/mdBook
synced 2024-12-15 07:12:35 +00:00
75bbd55128
Updated the project rustfmt.toml to include `use_try_shorthand = true`. Run rustfmt on all rust sources.
16 lines
301 B
TOML
16 lines
301 B
TOML
write_mode = "Overwrite"
|
|
|
|
max_width = 120
|
|
ideal_width = 120
|
|
fn_call_width = 100
|
|
|
|
fn_args_density = "Compressed"
|
|
|
|
enum_trailing_comma = true
|
|
match_block_trailing_comma = true
|
|
struct_trailing_comma = "Always"
|
|
wrap_comments = true
|
|
use_try_shorthand = true
|
|
|
|
report_todo = "Always"
|
|
report_fixme = "Always"
|