From 0a7ba6848ed0a81a88af88747b174d5b4315d895 Mon Sep 17 00:00:00 2001 From: Cain <75994858+cainthebest@users.noreply.github.com> Date: Sun, 20 Apr 2025 23:05:33 +0100 Subject: [PATCH] chore(rustfmt): bump to 1.8.0 and fix deprecated warns --- .rustfmt.toml | 6 +++--- VERSIONS.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.rustfmt.toml b/.rustfmt.toml index 313f091..d410c70 100644 --- a/.rustfmt.toml +++ b/.rustfmt.toml @@ -27,7 +27,7 @@ format_macro_bodies = true format_strings = true group_imports = "Preserve" hard_tabs = false -hide_parse_errors = false +show_parse_errors = true hex_literal_case = "Preserve" ignore = [] indent_style = "Block" @@ -48,7 +48,7 @@ overflow_delimited_expr = false reorder_impl_items = false reorder_imports = true reorder_modules = true -required_version = "1.6.0" +required_version = "1.8.0" short_array_element_width_threshold = 10 single_line_if_else_max_width = 50 skip_children = false @@ -67,6 +67,6 @@ unstable_features = false use_field_init_shorthand = false use_small_heuristics = "Default" use_try_shorthand = true -version = "Two" +style_edition = "2021" where_single_line = true wrap_comments = true diff --git a/VERSIONS.md b/VERSIONS.md index bf8a929..b190819 100644 --- a/VERSIONS.md +++ b/VERSIONS.md @@ -11,7 +11,7 @@ Places to update: # rustfmt version -Current: `1.6.0` +Current: `1.8.0` Places to update: