]> git.lizzy.rs Git - rust.git/blobdiff - rustfmt.toml
Use `as_closure` helper method
[rust.git] / rustfmt.toml
index 0d8362496c199b1f20e9684f851d184273cbf6f3..10d39762043ea0e03b4cb89405c82f2a04661aa8 100644 (file)
@@ -1,10 +1,7 @@
 max_width = 120
-ideal_width = 100
-fn_args_density = "Compressed"
-fn_call_width = 80
-fn_args_paren_newline = false
+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 = "2021"
+error_on_line_overflow = true
+version = "Two"