Skip to content

Commit a5d1beb

Browse files
committed
formatting
1 parent 236a8bf commit a5d1beb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

compiler/codegen/src/compile.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2030,9 +2030,7 @@ impl Compiler {
20302030
Pattern::MatchSequence(_sequence) => {
20312031
Err(self.error(CodegenErrorType::NotImplementedYet))
20322032
}
2033-
Pattern::MatchMapping(_mapping) => {
2034-
Err(self.error(CodegenErrorType::NotImplementedYet))
2035-
}
2033+
Pattern::MatchMapping(_mapping) => Err(self.error(CodegenErrorType::NotImplementedYet)),
20362034
Pattern::MatchClass(_class) => Err(self.error(CodegenErrorType::NotImplementedYet)),
20372035
Pattern::MatchStar(star) => self.codegen_pattern_star(&star, pattern_context),
20382036
Pattern::MatchAs(as_pattern) => self.codegen_pattern_as(&as_pattern, pattern_context),

0 commit comments

Comments
 (0)