Skip to content

Commit 89a75ca

Browse files
authored
Replace deprecated rustfmt.toml options (payjoin#687)
Using the nightly toolchain the `version` and `hide_parse_errors` options are now deprecated: [version](https://rust-lang.github.io/rustfmt/?version=v1.8.0&search=#version) [hide_parse_errors](https://rust-lang.github.io/rustfmt/?version=v1.8.0&search=#hide_parse_errors)
2 parents eb26494 + 5dd0093 commit 89a75ca

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)