1 2 3 4
# Cargo's edition is 2021, but the codebase is formatted with style edition 2024. Without setting it # explicitly, `cargo fmt` derives style edition 2021 from the edition and rewrites the whole repo # back to the old style. style_edition = "2024"