mirror of
https://github.com/rust-lang/mdBook.git
synced 2026-12-03 23:41:28 -06:00
Updated the project rustfmt.toml to include `use_try_shorthand = true`. Run rustfmt on all rust sources.
17 lines
301 B
TOML
17 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"
|