bottom/rustfmt.toml
Clement Tsang f7d070f944
refactor: somewhat migrate to Rust 2024 edition (#1681)
* refactor: try bumping to rust 2024 edition

* now run nightly fmt

* fix some macos changes

* only apply a few of these settings
2025-02-22 02:12:08 +00:00

15 lines
356 B
TOML

reorder_imports = true
reorder_modules = true
merge_derives = true
fn_params_layout = "Compressed"
use_field_init_shorthand = true
tab_spaces = 4
max_width = 100
style_edition = "2024"
# Unstable options, disabled by default.
# imports_granularity = "Crate"
# group_imports = "StdExternalCrate"
# wrap_comments = true
# format_code_in_doc_comments = true