Skip to content

Commit

Permalink
use a different rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kent-3 committed May 26, 2024
1 parent ad9ddd9 commit 898165c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions contracts/liquidity_book/rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# https://github.com/rust-lang/rustfmt/blob/master/Configurations.md

# Stable configurations
edition = "2021"
max_width = 100
merge_derives = true
use_field_init_shorthand = true
7 changes: 7 additions & 0 deletions packages/lb_libraries/rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# https://github.com/rust-lang/rustfmt/blob/master/Configurations.md

# Stable configurations
edition = "2021"
max_width = 100
merge_derives = true
use_field_init_shorthand = true

0 comments on commit 898165c

Please sign in to comment.