From d5650f3a6d5d0ebc660c7178dd2d98fb18542c5d Mon Sep 17 00:00:00 2001 From: Andrew Jones Date: Fri, 8 Nov 2024 14:02:52 +0000 Subject: [PATCH] Update rustfmt config (#2297) --- .rustfmt.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.rustfmt.toml b/.rustfmt.toml index d99c2c67e9..2843071a0d 100644 --- a/.rustfmt.toml +++ b/.rustfmt.toml @@ -44,7 +44,7 @@ match_block_trailing_comma = false blank_lines_upper_bound = 1 blank_lines_lower_bound = 0 edition = "2021" # changed -version = "One" +style_edition = "2021" merge_derives = true use_try_shorthand = true # changed use_field_init_shorthand = true # changed @@ -54,7 +54,7 @@ color = "Auto" unstable_features = true # changed disable_all_formatting = false skip_children = false -hide_parse_errors = false +show_parse_errors = true error_on_line_overflow = false error_on_unformatted = false ignore = []