]> git.proxmox.com Git - cargo.git/blobdiff - vendor/tinyvec/rustfmt.toml
New upstream version 0.52.0
[cargo.git] / vendor / tinyvec / rustfmt.toml
index 51a207678fe975f0bf79c9b8252b66839de357c8..23b0fd59e6012151bc2c3a4f97da3eba8f0bef3c 100644 (file)
@@ -1,8 +1,16 @@
-merge_imports = true
-use_try_shorthand = true
-tab_spaces = 2
-max_width = 80
-color = "Never"
-use_small_heuristics = "Max"
-format_code_in_doc_comments = true
-wrap_comments = true
+# Based on\r
+# https://github.com/rust-lang/rustfmt/blob/rustfmt-1.4.19/Configurations.md\r
+\r
+# Stable\r
+edition = "2018"\r
+fn_args_layout = "Compressed"\r
+max_width = 80\r
+tab_spaces = 2\r
+use_field_init_shorthand = true\r
+use_try_shorthand = true\r
+use_small_heuristics = "Max"\r
+\r
+# Unstable\r
+format_code_in_doc_comments = true\r
+merge_imports = true\r
+wrap_comments = true\r