X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=rustfmt.toml;h=f1241e74b0a3d40e4bfb64912b27fec9711efb2f;hb=e2859437f930ed947386aa8d225cf078a9f53839;hp=18d146d49173afa0aa52acb60cb7d51a1e245569;hpb=647b30884d8ec6dbdc4f07d80c5c39eacfb0c061;p=rust.git diff --git a/rustfmt.toml b/rustfmt.toml index 18d146d4917..f1241e74b0a 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,8 +1,6 @@ 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