Improves Rustfmt and Clippy configuration

pull/232/head
Tpt 2 years ago committed by Thomas Tanon
parent 571e1c9559
commit 4883b582f1
  1. 2
      clippy.toml
  2. 3
      rustfmt.toml

@ -1,4 +1,4 @@
avoid-breaking-exported-api = false
avoid-breaking-exported-api = true
cognitive-complexity-threshold = 50
too-many-arguments-threshold = 10
type-complexity-threshold = 500

@ -0,0 +1,3 @@
newline_style = "Unix"
use_field_init_shorthand = true
use_try_shorthand = true
Loading…
Cancel
Save