Module matches

Source
Expand description

Format match expression.

Structs§

ArmWrapper 🔒
A simple wrapper type against ast::Arm. Used inside write_list().

Functions§

arm_comma 🔒
block_can_be_flattened 🔒
can_flatten_block_around_this 🔒
collect_beginning_verts 🔒
Collect a byte position of the beginning | for each arm, if available.
flatten_arm_body 🔒
nop_block_collapse 🔒
rewrite_guard 🔒
rewrite_match 🔒
rewrite_match_arm 🔒
rewrite_match_arms 🔒
rewrite_match_body 🔒
stmt_is_expr_mac 🔒