We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e36ac9 commit 04dc468Copy full SHA for 04dc468
.github/workflows/rust.yml
@@ -9,7 +9,7 @@ jobs:
9
rustfmt:
10
runs-on: ubuntu-latest
11
steps:
12
- - uses: dtolnay/rust-toolchain@stable
+ - uses: dtolnay/rust-toolchain@nightly
13
with:
14
components: rustfmt
15
- uses: actions/checkout@v4
rustfmt.toml
@@ -0,0 +1,8 @@
1
+# https://github.com/rust-lang/rustfmt/blob/master/Configurations.md
2
+format_code_in_doc_comments=true
3
+format_macro_matchers=true
4
+group_imports="StdExternalCrate"
5
+imports_granularity="Module"
6
+normalize_doc_attributes=true
7
+reorder_impl_items=true
8
+use_field_init_shorthand=true
0 commit comments