Skip to content

Commit f7d4038

Browse files
committed
Fix printing of nested Expr::Index and Expr::Tuple in non-full mode
1 parent 6744b73 commit f7d4038

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/expr.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3218,7 +3218,6 @@ pub(crate) mod printing {
32183218
Expr::Group(e) => e.to_tokens(tokens),
32193219
#[cfg(feature = "full")]
32203220
Expr::If(e) => e.to_tokens(tokens),
3221-
#[cfg(feature = "full")]
32223221
Expr::Index(e) => print_expr_index(e, tokens, fixup),
32233222
#[cfg(feature = "full")]
32243223
Expr::Infer(e) => e.to_tokens(tokens),
@@ -3247,7 +3246,6 @@ pub(crate) mod printing {
32473246
Expr::Try(e) => print_expr_try(e, tokens, fixup),
32483247
#[cfg(feature = "full")]
32493248
Expr::TryBlock(e) => e.to_tokens(tokens),
3250-
#[cfg(feature = "full")]
32513249
Expr::Tuple(e) => e.to_tokens(tokens),
32523250
Expr::Unary(e) => print_expr_unary(e, tokens, fixup),
32533251
#[cfg(feature = "full")]

0 commit comments

Comments
 (0)