diff options
| author | Sophie Forrest <git@sophieforrest.com> | 2024-09-06 13:55:19 +1200 |
|---|---|---|
| committer | Sophie Forrest <git@sophieforrest.com> | 2024-09-06 13:55:19 +1200 |
| commit | c4ce297ff951583c9ffe3a88aa22933577b329da (patch) | |
| tree | 93f55666b0ba0d74be87e10380dcc25a84a17677 /.rustfmt.toml | |
| parent | 151ab2e8a837242f9654be1280286dc9514fe49c (diff) | |
refactor: make clippy happy + no cloning
Diffstat (limited to '.rustfmt.toml')
| -rw-r--r-- | .rustfmt.toml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.rustfmt.toml b/.rustfmt.toml new file mode 100644 index 0000000..3a60dda --- /dev/null +++ b/.rustfmt.toml @@ -0,0 +1,13 @@ +edition = "2021" + +format_code_in_doc_comments = true +format_strings = true +group_imports = "StdExternalCrate" +hard_tabs = true +hex_literal_case = "Upper" +imports_granularity = "Crate" +reorder_impl_items = true +reorder_modules = true +use_field_init_shorthand = true +use_try_shorthand = true +wrap_comments = true |