Skip to content

Commit

Permalink
add rustfmt group_imports rule
Browse files Browse the repository at this point in the history
Signed-off-by: onur-ozkan <[email protected]>
  • Loading branch information
onur-ozkan committed Sep 25, 2023
1 parent 6370fa5 commit 3e7c2f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ tab_spaces = 4
# Use field initialize shorthand if possible.
# https://github.com/rust-lang/rustfmt/blob/master/Configurations.md#use_field_init_shorthand
use_field_init_shorthand = true

# Automatic grouping and ordering
group_imports = "StdExternalCrate"

0 comments on commit 3e7c2f2

Please sign in to comment.