sway/rustfmt.toml
Kaya Gökalp 1a881eeb91
chore: rename fn_args_layout to fn_params_layout in rustfmt.toml (#4530)
## Description
Since https://github.com/rust-lang/rustfmt/issues/4149 is released with latest rust toolchain 1.69, we are seeing some warnings from rustfmt. This PR addresses the depreciation note in our `rustfmt.toml`.
2023-05-04 08:23:35 +00:00

12 lines
296 B
TOML

fn_params_layout = "Tall"
hard_tabs = false
match_arm_leading_pipes = "Never"
max_width = 100
merge_derives = true
remove_nested_parens = true
reorder_imports = true
reorder_modules = true
tab_spaces = 4
use_field_init_shorthand = false
use_small_heuristics = "Default"
use_try_shorthand = false