Skip to content

Commit 4c9a7a9

Browse files
committed
chore(template): Use Rust 2024 style
1 parent f32559b commit 4c9a7a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

template/rustfmt.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# This file includes unstable features, so you need to run "cargo +nightly fmt" to format your code.
22
# It's also ok to use the stable toolchain by simple running "cargo fmt", but using the nigthly formatter is prefered.
33

4+
# https://doc.rust-lang.org/nightly/edition-guide/rust-2024/rustfmt-style-edition.html
5+
style_edition = "2024"
46
imports_granularity = "Crate"
57
group_imports = "StdExternalCrate"

0 commit comments

Comments
 (0)