commit | f2c90424d780cacd676afc964a7c982df2f644df | [log] [tgz] |
---|---|---|
author | Alexei Frolov <frolv@google.com> | Mon Nov 14 23:06:55 2022 +0000 |
committer | Alexei Frolov <frolv@google.com> | Mon Nov 14 23:06:55 2022 +0000 |
tree | 44e092f593fd1e8fb6cb7b137a6d0e5ff9a28c99 | |
parent | ab329d815b13a91ac8be8ca5f68dc74643e28403 [diff] |
Add rustfmt.toml This adds a rustfmt configuration with project formatting options. Change-Id: I9fb8c3ee387b0be3296189723cb20f7cbec2153f Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/qg/+/119291 Reviewed-by: Erik Gilling <konkers@google.com>
diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..389a648 --- /dev/null +++ b/rustfmt.toml
@@ -0,0 +1,3 @@ +edition = "2021" +normalize_comments = true +use_field_init_shorthand = true