about summary refs log blame commit diff
path: root/users/tazjin/rustfmt.toml
blob: 0c719dcfec6fbf8997600fcff56d712dc1a6af56 (plain) (tree)





















                                                                  
edition = "2021"
newline_style = "Unix"

# Default code with is 100 characters, comments should follow
# suit.
wrap_comments = true

# The default of this option creates hard-to-read nesting of
# conditionals, turn it off.
combine_control_expr = false

# Group imports by module, but no higher. This avoids hard-to-read
# nested use statements.
imports_granularity = "Module"

# Avoid vertical visual clutter by unnecessarily exploding
# block-like arguments.
overflow_delimited_expr = true

# Miscellaneous
format_code_in_doc_comments = true
normalize_comments = true