diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-02-13 14:54:50 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-02-13 14:54:50 +0000 |
| commit | 8dda1ebfb6d22de555b05c2d2e882adfe967a18f (patch) | |
| tree | a82f19abe07a4043769a56fe7970bc72e8490e97 | |
| parent | cdadd5f4cd12a273290202bc17121195e7ee96bc (diff) | |
| download | rust-8dda1ebfb6d22de555b05c2d2e882adfe967a18f.tar.gz rust-8dda1ebfb6d22de555b05c2d2e882adfe967a18f.zip | |
Update rustfmt.toml to match the rust repo
| -rw-r--r-- | rustfmt.toml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rustfmt.toml b/rustfmt.toml index d9e6ac3d543..f31fa9c76ab 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -3,8 +3,9 @@ ignore = [ ] # Matches rustfmt.toml of rustc -version = "Two" +style_edition = "2024" use_small_heuristics = "Max" merge_derives = false group_imports = "StdExternalCrate" imports_granularity = "Module" +use_field_init_shorthand = true |
