Skip to content

Commit d5650f3

Browse files
authored
Update rustfmt config (#2297)
1 parent 6456c06 commit d5650f3

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
@@ -44,7 +44,7 @@ match_block_trailing_comma = false
4444
blank_lines_upper_bound = 1
4545
blank_lines_lower_bound = 0
4646
edition = "2021" # changed
47-
version = "One"
47+
style_edition = "2021"
4848
merge_derives = true
4949
use_try_shorthand = true # changed
5050
use_field_init_shorthand = true # changed
@@ -54,7 +54,7 @@ color = "Auto"
5454
unstable_features = true # changed
5555
disable_all_formatting = false
5656
skip_children = false
57-
hide_parse_errors = false
57+
show_parse_errors = true
5858
error_on_line_overflow = false
5959
error_on_unformatted = false
6060
ignore = []

0 commit comments

Comments
 (0)