mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Enable more settings, including some that are currently unstable. Prefer
options that are also used by the Rust project itself [1].
[1] 64a965e901/rustfmt.toml (L5-L6)
Acked-by: Steffen Eiden <seiden@linux.ibm.com>
Signed-off-by: Marc Hartmayer <marc@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
13 lines
334 B
TOML
13 lines
334 B
TOML
edition = "2021"
|
|
newline_style = "Unix"
|
|
|
|
# Unstable options that help catching some mistakes in formatting
|
|
group_imports = "StdExternalCrate"
|
|
imports_granularity = "Module"
|
|
use_field_init_shorthand = true
|
|
comment_width = 100
|
|
format_code_in_doc_comments = true
|
|
normalize_comments = true
|
|
wrap_comments = true
|
|
#reorder_impl_items = true
|