Skip to content

Commit 32dd561

Browse files
committed
chore(rustfmt): add .rustfmt.toml and use `nighly on fmt CI step
1 parent bcb66e6 commit 32dd561

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/cont_integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ jobs:
7373
- name: Install Rust Toolchain
7474
uses: dtolnay/rust-toolchain@v1
7575
with:
76-
toolchain: stable
76+
toolchain: nightly
7777
components: rustfmt
7878
- name: Check fmt
79-
run: cargo fmt --all -- --config format_code_in_doc_comments=true,wrap_comments=true --check
79+
run: cargo fmt --all --check
8080

8181
clippy:
8282
name: Rust Clippy

.rustfmt.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
format_code_in_doc_comments=true
2+
wrap_comments=true

0 commit comments

Comments
 (0)