Skip to content

Commit 14c7a8c

Browse files
committed
fix style edition to 2021
running rustfmt with edition 2024 creates a lot of noise Signed-off-by: Simon Davies <[email protected]>
1 parent 684e914 commit 14c7a8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rustfmt.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ unstable_features = true # Cargo fmt now needs to be called with `cargo +nightly
33
group_imports = "StdExternalCrate" # create three groups for std, external and local crates
44
# Merge imports from the same module
55
# See: https://rust-lang.github.io/rustfmt/?version=v1.4.38&search=#imports_granularity
6-
imports_granularity = "Module"
6+
imports_granularity = "Module"
7+
style_edition = "2021"

0 commit comments

Comments
 (0)