Kaynağa Gözat

Update rustfmt (#864)

Ali Behjati 2 yıl önce
ebeveyn
işleme
7847a79b6a
2 değiştirilmiş dosya ile 2 ekleme ve 17 silme
  1. 0 17
      pythnet/pythnet_sdk/rustfmt.toml
  2. 2 0
      rustfmt.toml

+ 0 - 17
pythnet/pythnet_sdk/rustfmt.toml

@@ -1,17 +0,0 @@
-# Merge all imports into a clean vertical list of module imports.
-imports_granularity = "One"
-group_imports = "One"
-imports_layout = "Vertical"
-
-# Better grep-ability.
-empty_item_single_line = false
-
-# Consistent pipe layout.
-match_arm_leading_pipes = "Preserve"
-
-# Align Fields
-enum_discrim_align_threshold = 80
-struct_field_align_threshold = 80
-
-# Allow up to two blank lines for visual grouping.
-blank_lines_upper_bound = 2

+ 2 - 0
rustfmt.toml

@@ -1,3 +1,5 @@
+edition = "2021"
+
 # Merge all imports into a clean vertical list of module imports.
 imports_granularity = "One"
 group_imports = "One"