Improve rust indentation queries

if/if let are already handled by block, and keeping these scopes would
indent else blocks one level too far.
imgbot
Blaž Hrastnik 3 years ago
parent 112ae5cffe
commit f24007b30f

@ -1,11 +1,4 @@
indent = [
"while_expression",
"for_expression",
"loop_expression",
"if_expression",
"if_let_expression",
"tuple_expression",
"array_expression",
"use_list",
"block",
"match_block",
@ -19,6 +12,8 @@ indent = [
"enum_variant_list",
"binary_expression",
"field_expression",
"tuple_expression",
"array_expression",
"where_clause",
"macro_invocation"
]

Loading…
Cancel
Save