From 0ac1e56435e27adddef9806dbf1134f909e99dd4 Mon Sep 17 00:00:00 2001 From: Olliver Schinagl Date: Sat, 15 Oct 2022 16:09:06 +0200 Subject: [PATCH] rustfmt: Match style with kernel codestyle Signed-off-by: Olliver Schinagl --- .rustfmt.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.rustfmt.toml b/.rustfmt.toml index 3de5cc497465..290b88c00265 100644 --- a/.rustfmt.toml +++ b/.rustfmt.toml @@ -1,5 +1,13 @@ +binop_separator = "Back" +brace_style = "AlwaysNextLine" +control_brace_style = "AlwaysSameLine" edition = "2021" +hard_tabs = "true" +indent_style = "Visual" +match_block_trailing_comma = "true" newline_style = "Unix" +struct_lit_single_line = "false" +tab_spaces = "8" # Unstable options that help catching some mistakes in formatting and that we may want to enable # when they become stable. -- 2.38.0