Skip to content

Commit

Permalink
Add cargo fmt script that alse formats imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian committed Oct 7, 2024
1 parent 43cc126 commit 0f8df51
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/cargo_fmt_with_imports.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

set -e

cargo +nightly fmt -- --config group_imports=StdExternalCrate,imports_granularity=Crate

0 comments on commit 0f8df51

Please sign in to comment.