Skip to content

Commit 1c1133c

Browse files
committed
style: clippy
Signed-off-by: Andrey <andrekabatareika@gmail.com>
1 parent df4a4cd commit 1c1133c

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

compiler-core/src/javascript/decision.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,9 @@ pub fn case<'a>(
7575
.into_doc(),
7676
),
7777

78-
tree @ Decision::Run { .. }
79-
| tree @ Decision::Guard { .. }
80-
| tree @ Decision::Switch { .. }
81-
| tree @ Decision::Fail => printer.decision(tree).into_doc(),
78+
tree @
79+
(Decision::Run { .. } | Decision::Guard { .. } | Decision::Switch { .. } |
80+
Decision::Fail) => printer.decision(tree).into_doc(),
8281
};
8382
docvec![assignments_to_doc(assignments), decision].force_break()
8483
}

0 commit comments

Comments
 (0)