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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Rustfmt configuration for fastalloc
# Edition
= "2021"
# ============================================================================
# STABLE OPTIONS (work with stable Rust)
# ============================================================================
# Maximum line width
= 100
# Hard tabs or spaces
= false
= 4
# Imports
= true
# Formatting options
= true
# Match formatting
= false
# Misc
= "Default"
= true
= "Unix"
# ============================================================================
# NIGHTLY-ONLY OPTIONS (uncomment when using nightly rustfmt)
# These options require running: rustup toolchain install nightly
# Then format with: cargo +nightly fmt
# ============================================================================
# Imports organization
# imports_granularity = "Crate"
# group_imports = "StdExternalCrate"
# Function formatting
# fn_single_line = false
# where_single_line = false
# Comment formatting
# format_code_in_doc_comments = true
# normalize_comments = true
# wrap_comments = true
# comment_width = 80
# Control flow style
# control_brace_style = "AlwaysSameLine"
# indent_style = "Block"
# Expression formatting
# overflow_delimited_expr = true
# force_multiline_blocks = false