Skip to main content

Module field_shorthand

Module field_shorthand 

Source
Expand description

Suggests shortening Foo { field: field } to Foo { field } in both expressions and patterns.

Functionsยง

check_expr_field_shorthand ๐Ÿ”’
check_pat_field_shorthand ๐Ÿ”’
field_shorthand ๐Ÿ”’