1
Fork 0

Suggest swapping the order of ref and box

This commit is contained in:
Hirochika Matsumoto 2023-11-27 18:28:51 +09:00
parent b29a1e00f8
commit f4c2bdeec9
6 changed files with 55 additions and 2 deletions

View file

@ -721,6 +721,9 @@ parse_sugg_wrap_pattern_in_parens = wrap the pattern in parentheses
parse_switch_mut_let_order =
switch the order of `mut` and `let`
parse_switch_ref_box_order = switch the order of `ref` and `box`
.suggestion = swap them
parse_ternary_operator = Rust has no ternary operator
.help = use an `if-else` expression instead