fe8b72d98e
This allows users to configure the maximum length of a single line `let-else` statements. `let-else` statements that otherwise meet the requirements to be formatted on a single line will have their divergent `else` block formatted over multiple lines if they exceed this length. **Note**: `single_line_let_else_max_widt` will be introduced as a stable configuration option. |
||
---|---|---|
.. | ||
blank_lines_lower_bound | ||
brace_style | ||
chain_width | ||
comment_width | ||
condense_wildcard_suffixes | ||
control_brace_style | ||
disable_all_formatting | ||
doc_comment_code_block_width | ||
empty_item_single_line | ||
enum_discrim_align_threshold | ||
error_on_line_overflow | ||
fn_params_layout | ||
fn_single_line | ||
force_explicit_abi | ||
force_multiline_block | ||
format_generated_files | ||
format_macro_bodies | ||
format_macro_matchers | ||
format_strings | ||
group_imports | ||
hard_tabs | ||
imports_layout | ||
indent_style | ||
match_arm_blocks | ||
match_arm_leading_pipes | ||
match_block_trailing_comma | ||
merge_derives | ||
normalize_comments | ||
normalize_doc_attributes | ||
remove_nested_parens | ||
reorder_impl_items | ||
reorder_imports | ||
reorder_modules | ||
short_array_element_width_threshold | ||
single_line_let_else_max_width | ||
skip_children | ||
space_before_colon | ||
spaces_around_ranges | ||
struct_field_align_threshold | ||
struct_lit_single_line | ||
tab_spaces | ||
trailing_comma | ||
type_punctuation_density | ||
use_field_init_shorthand | ||
use_small_heuristics | ||
use_try_shorthand | ||
where_single_line | ||
wrap_comments |