Trevor Gross 569b40209d Add a .rustfmt.toml with style edition 2024
Use the 2024 style edition for all crates and enable import sorting.
2024 already applies some smaller heuristics that look good in
compiler-builtins, I have dropped `use_small_heuristics` that was set in
`libm` because it seems to negatively affect the readibility of anything
working with numbers (e.g. collapsing multiple small `if` expressions
into a single line).
2025-04-19 19:05:49 -04:00

5 lines
110 B
TOML

# This matches rustc
style_edition = "2024"
group_imports = "StdExternalCrate"
imports_granularity = "Module"