Created
May 5, 2023 05:16
-
-
Save Fuwn/0326a4c5e82c93020811a232e06e3d4e to your computer and use it in GitHub Desktop.
My current `rustfmt.toml`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
edition = "2021" | |
enum_discrim_align_threshold = 40 | |
error_on_line_overflow = true | |
error_on_unformatted = true | |
fn_single_line = true | |
format_code_in_doc_comments = true | |
format_macro_matchers = true | |
format_strings = true | |
inline_attribute_width = 80 | |
match_arm_blocks = false | |
max_width = 80 | |
imports_granularity = "One" | |
merge_imports = true | |
newline_style = "Unix" | |
normalize_doc_attributes = true | |
overflow_delimited_expr = true | |
reorder_impl_items = true | |
group_imports = "StdExternalCrate" | |
required_version = "1.5.2" | |
struct_field_align_threshold = 40 | |
tab_spaces = 2 | |
use_field_init_shorthand = true | |
use_small_heuristics = "Max" | |
use_try_shorthand = true | |
version = "Two" | |
wrap_comments = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment