X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=rustfmt.toml;h=10d39762043ea0e03b4cb89405c82f2a04661aa8;hb=e7c55a478fd78cae940b0b43fbdbd4b4c7c6567b;hp=c0695c04126ee9049111ba1e0f966767ce761bf6;hpb=55a0187b7db23d5e59a181f73b763bf86d4b45c5;p=rust.git diff --git a/rustfmt.toml b/rustfmt.toml index c0695c04126..10d39762043 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,5 +1,7 @@ max_width = 120 -ideal_width = 100 -fn_args_density = "Compressed" -fn_call_width = 80 -fn_args_paren_newline = false \ No newline at end of file +comment_width = 100 +match_block_trailing_comma = true +wrap_comments = true +edition = "2021" +error_on_line_overflow = true +version = "Two"