Skip to content

Commit

Permalink
Enable imports formatting in rustfmt.toml
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <[email protected]>
  • Loading branch information
mkroening committed Aug 8, 2023
1 parent b7e00b3 commit 8bdd738
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- name: Check Formatting
Expand Down
2 changes: 2 additions & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
group_imports = "StdExternalCrate"
hard_tabs = true
imports_granularity = "Module"

0 comments on commit 8bdd738

Please sign in to comment.