Skip to content

Commit

Permalink
Always use group for subscript
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaReiser committed Jul 10, 2023
1 parent f4b6387 commit 04ecf30
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ impl FormatNodeRule<ExprSubscript> for FormatExprSubscript {

write!(
f,
[in_parentheses_only_group(&format_args![
[group(&format_args![
text("["),
trailing_comments(dangling_comments),
soft_block_indent(&slice.format()),
Expand Down

0 comments on commit 04ecf30

Please sign in to comment.