mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-06 07:17:27 +00:00
chore(rustfmt): bump to 1.8.0 and fix deprecated warns
This commit is contained in:
parent
b7144e015d
commit
0a7ba6848e
2 changed files with 4 additions and 4 deletions
|
|
@ -27,7 +27,7 @@ format_macro_bodies = true
|
||||||
format_strings = true
|
format_strings = true
|
||||||
group_imports = "Preserve"
|
group_imports = "Preserve"
|
||||||
hard_tabs = false
|
hard_tabs = false
|
||||||
hide_parse_errors = false
|
show_parse_errors = true
|
||||||
hex_literal_case = "Preserve"
|
hex_literal_case = "Preserve"
|
||||||
ignore = []
|
ignore = []
|
||||||
indent_style = "Block"
|
indent_style = "Block"
|
||||||
|
|
@ -48,7 +48,7 @@ overflow_delimited_expr = false
|
||||||
reorder_impl_items = false
|
reorder_impl_items = false
|
||||||
reorder_imports = true
|
reorder_imports = true
|
||||||
reorder_modules = true
|
reorder_modules = true
|
||||||
required_version = "1.6.0"
|
required_version = "1.8.0"
|
||||||
short_array_element_width_threshold = 10
|
short_array_element_width_threshold = 10
|
||||||
single_line_if_else_max_width = 50
|
single_line_if_else_max_width = 50
|
||||||
skip_children = false
|
skip_children = false
|
||||||
|
|
@ -67,6 +67,6 @@ unstable_features = false
|
||||||
use_field_init_shorthand = false
|
use_field_init_shorthand = false
|
||||||
use_small_heuristics = "Default"
|
use_small_heuristics = "Default"
|
||||||
use_try_shorthand = true
|
use_try_shorthand = true
|
||||||
version = "Two"
|
style_edition = "2021"
|
||||||
where_single_line = true
|
where_single_line = true
|
||||||
wrap_comments = true
|
wrap_comments = true
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ Places to update:
|
||||||
|
|
||||||
# rustfmt version
|
# rustfmt version
|
||||||
|
|
||||||
Current: `1.6.0`
|
Current: `1.8.0`
|
||||||
|
|
||||||
Places to update:
|
Places to update:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue