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 ๐Ÿ”’