diff options
author | HampusM <hampus@hampusmat.com> | 2022-08-28 13:24:39 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-08-28 13:37:14 +0200 |
commit | f91c4ce73786a69e4ec72f69ef4d9d5f03ac5886 (patch) | |
tree | 6ac016e731eaf7e6fabdbcf12b84852cbc5af475 /rustfmt.toml | |
parent | dd6ae0c8643f08114469ccff66615b45ccf5e13e (diff) |
style: add rustfmt config options
Diffstat (limited to 'rustfmt.toml')
-rw-r--r-- | rustfmt.toml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rustfmt.toml b/rustfmt.toml index b689c7b..4d1e29f 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,4 +1,11 @@ max_width = 90 brace_style = "AlwaysNextLine" group_imports = "StdExternalCrate" +wrap_comments = true +comment_width = 90 +format_code_in_doc_comments = true +imports_layout = "HorizontalVertical" +imports_granularity = "Module" +newline_style = "Unix" +reorder_impl_items = true |