Adopt nightly rustfmt

This commit is contained in:
Juno Takano 2026-02-16 13:58:24 -03:00
commit d5e79daeee
2 changed files with 5 additions and 3 deletions

View file

@ -62,7 +62,7 @@ alias qo := quick-test-cover-watch
# Format all files # Format all files
[group: 'develop'] [group: 'develop']
format: format:
cargo fmt cargo +nightly fmt
alias f := format alias f := format
@ -162,7 +162,7 @@ alias do := doc-open
# Assess formatting # Assess formatting
[group: 'assess'] [group: 'assess']
format-assess: format-assess:
cargo fmt -- --check cargo +nightly fmt -- --check
alias fc := format-assess alias fc := format-assess

View file

@ -1,12 +1,14 @@
unstable_features = true
match_block_trailing_comma = true match_block_trailing_comma = true
max_width = 80 max_width = 80
reorder_imports = false reorder_imports = false
reorder_modules = false reorder_modules = false
use_field_init_shorthand = true use_field_init_shorthand = true
use_try_shorthand = true use_try_shorthand = true
skip_macro_invocations = ["concat"]
# blank_lines_lower_bound = 1
# not stabilized yet # not stabilized yet
# blank_lines_lower_bound = 1
# where_single_line = true # where_single_line = true
# overflow_delimited_expr = true # overflow_delimited_expr = true
# normalize_doc_attributes = true # normalize_doc_attributes = true