Skip to content

Commit 0bd4d0a

Browse files
committed
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).
1 parent a035607 commit 0bd4d0a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# This matches rustc
22
style_edition = "2024"
3-
use_small_heuristics = "Max"
43
group_imports = "StdExternalCrate"
54
imports_granularity = "Module"

0 commit comments

Comments
 (0)