From f91c4ce73786a69e4ec72f69ef4d9d5f03ac5886 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 28 Aug 2022 13:24:39 +0200 Subject: style: add rustfmt config options --- rustfmt.toml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'rustfmt.toml') 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 -- cgit v1.2.3-18-g5258