mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-22 04:08:12 +08:00
Simplify rustfmt settings to remove using unstable rules
This commit is contained in:
+3
-9
@@ -1,19 +1,13 @@
|
||||
edition = "2018"
|
||||
hard_tabs = true
|
||||
max_width = 180
|
||||
max_width = 200
|
||||
newline_style = "Unix"
|
||||
use_try_shorthand = true
|
||||
|
||||
# Enable when 2.0 is released:
|
||||
# match_block_trailing_comma = true
|
||||
|
||||
# Enable when control_brace_style becomes stable:
|
||||
# control_brace_style = "ClosingNextLine"
|
||||
|
||||
# Maybe enable these in the future when they're stabilized
|
||||
# normalize_comments = true
|
||||
# normalize_doc_attributes = true
|
||||
# struct_lit_width = 35
|
||||
# where_single_line = true
|
||||
|
||||
# For now run: cargo fmt -- --config match_block_trailing_comma=true --config control_brace_style=ClosingNextLine
|
||||
# match_block_trailing_comma = true # https://github.com/rust-lang/rustfmt/issues/3380
|
||||
# control_brace_style = "ClosingNextLine" # https://github.com/rust-lang/rustfmt/issues/3377
|
||||
|
||||
Reference in New Issue
Block a user