forked from CodingThrust/problem-reductions
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrustfmt.toml
More file actions
29 lines (25 loc) · 727 Bytes
/
rustfmt.toml
File metadata and controls
29 lines (25 loc) · 727 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Rust formatting configuration
# See: https://rust-lang.github.io/rustfmt/
# Stable options
edition = "2021"
max_width = 100
tab_spaces = 4
newline_style = "Unix"
use_small_heuristics = "Default"
# Stable import options
reorder_imports = true
# Formatting style
use_field_init_shorthand = true
use_try_shorthand = true
force_explicit_abi = true
# Unstable options (require nightly, comment out if using stable)
# Uncomment these when using nightly rustfmt
# unstable_features = true
# format_strings = true
# format_macro_bodies = true
# format_macro_matchers = true
# overflow_delimited_expr = true
# imports_indent = "Block"
# match_block_trailing_comma = true
# trailing_comma = "Vertical"
# trailing_semicolon = false