Skip to content

Commit 5dd0093

Browse files
committed
Replace deprecated rustfmt.toml options
Using the nightly toolchain the version and hide_parse_errors options are now deprecated.
1 parent eb26494 commit 5dd0093

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rustfmt.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ match_block_trailing_comma = false
5959
blank_lines_upper_bound = 1
6060
blank_lines_lower_bound = 0
6161
edition = "2018"
62-
version = "One"
62+
style_edition = "2018"
6363
inline_attribute_width = 0
6464
format_generated_files = true
6565
merge_derives = true
@@ -71,7 +71,7 @@ color = "Auto"
7171
unstable_features = false
7272
disable_all_formatting = false
7373
skip_children = false
74-
hide_parse_errors = false
74+
show_parse_errors = true
7575
error_on_line_overflow = false
7676
error_on_unformatted = false
7777
emit_mode = "Files"

0 commit comments

Comments
 (0)