repline: Sync with old repline

This commit is contained in:
2025-08-07 02:43:23 -04:00
parent d1df62533e
commit 760cf725f2
9 changed files with 316 additions and 180 deletions

16
.rustfmt.toml Normal file
View File

@@ -0,0 +1,16 @@
unstable_features = true
max_width = 100
wrap_comments = true
comment_width = 100
struct_lit_width = 100
imports_granularity = "Crate"
# Allow structs to fill an entire line
# use_small_heuristics = "Max"
# Allow small functions on single line
# fn_single_line = true
# Alignment
enum_discrim_align_threshold = 12
#struct_field_align_threshold = 12
where_single_line = true