X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=rustfmt.toml;h=4b415a31b272eab0995e7f6d8dec936ccdb0146a;hb=a9e9b7f9b2ad52035fe7b57bb0fc8ba62d649c33;hp=18d146d49173afa0aa52acb60cb7d51a1e245569;hpb=647b30884d8ec6dbdc4f07d80c5c39eacfb0c061;p=rust.git diff --git a/rustfmt.toml b/rustfmt.toml index 18d146d4917..4b415a31b27 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,8 +1,7 @@ max_width = 120 -ideal_width = 100 -fn_call_width = 80 +comment_width = 100 match_block_trailing_comma = true -fn_args_layout = "Block" -closure_block_indent_threshold = 0 -fn_return_indent = "WithWhereClause" wrap_comments = true +edition = "2018" +error_on_line_overflow = true +version = "Two"