X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=rustfmt.toml;h=c00f65546aeeb453c4f89842744cb4d125f65e98;hb=HEAD;hp=c61104c9f25593b1914a2ce7c2b5debab813e3ef;hpb=d9e9c01d33f291cf4846c0406a3e00c9ecbd543d;p=ldk-sample diff --git a/rustfmt.toml b/rustfmt.toml index c61104c..4f88472 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,5 +1,12 @@ -hard_tabs = true # use tab characters for indentation, spaces for alignment +use_small_heuristics = "Max" +fn_params_layout = "Compressed" +hard_tabs = true use_field_init_shorthand = true max_width = 100 -use_small_heuristics = "Max" -fn_args_layout = "Compressed" \ No newline at end of file +match_block_trailing_comma = true +# UNSTABLE: format_code_in_doc_comments = true +# UNSTABLE: overflow_delimited_expr = true +# UNSTABLE: comment_width = 100 +# UNSTABLE: format_macro_matchers = true +# UNSTABLE: format_strings = true +# UNSTABLE: group_imports = "StdExternalCrate"