We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df4a4cd commit 1c1133cCopy full SHA for 1c1133c
1 file changed
compiler-core/src/javascript/decision.rs
@@ -75,10 +75,9 @@ pub fn case<'a>(
75
.into_doc(),
76
),
77
78
- tree @ Decision::Run { .. }
79
- | tree @ Decision::Guard { .. }
80
- | tree @ Decision::Switch { .. }
81
- | tree @ Decision::Fail => printer.decision(tree).into_doc(),
+ tree @
+(Decision::Run { .. } | Decision::Guard { .. } | Decision::Switch { .. } |
+Decision::Fail) => printer.decision(tree).into_doc(),
82
};
83
docvec![assignments_to_doc(assignments), decision].force_break()
84
}
0 commit comments