25 lines
498 B
TOML
25 lines
498 B
TOML
# General
|
|
max_width = 100
|
|
newline_style = "Unix"
|
|
tab_spaces = 2
|
|
indent_style = "Visual"
|
|
format_code_in_doc_comments = true
|
|
format_macro_bodies = true
|
|
|
|
# Match statements
|
|
match_arm_leading_pipes = "Always"
|
|
match_block_trailing_comma = true
|
|
|
|
# Structs
|
|
use_field_init_shorthand = true
|
|
struct_field_align_threshold = 0
|
|
|
|
# Enums
|
|
enum_discrim_align_threshold = 0
|
|
|
|
# Imports
|
|
group_imports = "StdExternalCrate"
|
|
imports_granularity = "Module"
|
|
imports_indent = "Visual"
|
|
imports_layout = "HorizontalVertical"
|