Skip to content

Commit e3365eb

Browse files
committed
chore: update rustfmt configuration for 2024 edition
1 parent 4a75bed commit e3365eb

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
@@ -1,5 +1,6 @@
11
condense_wildcard_suffixes = true
22
error_on_unformatted = true
3+
float_literal_trailing_zero = "Always"
34
format_code_in_doc_comments = true
45
format_macro_matchers = true
56
format_strings = true
@@ -11,8 +12,8 @@ newline_style = "Unix"
1112
normalize_comments = true
1213
normalize_doc_attributes = true
1314
reorder_impl_items = true
14-
style_edition = "2024"
1515
unstable_features = true
16+
use_field_init_shorthand = true
1617
use_small_heuristics = "Max"
1718
use_try_shorthand = true
1819
wrap_comments = true

0 commit comments

Comments
 (0)