Skip to content

Commit 2cbeb17

Browse files
committed
Code reformating
1 parent 1701949 commit 2cbeb17

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/translator/match_pattern.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ impl AST {
1818
Pattern::Attributes(hash_set) => AST::from_attributes(hash_set, ctx),
1919
Pattern::Group(vec) => AST::NotImplemented,
2020
Pattern::Negate(pattern) => AST::NotImplemented,
21-
Pattern::Optional(pattern) => {
22-
AST::Optional(Box::new(AST::from_pattern(pattern, ctx)))
23-
}
21+
Pattern::Optional(pattern) => AST::Optional(Box::new(AST::from_pattern(pattern, ctx))),
2422
Pattern::ZeroOrMore(pattern) => {
2523
AST::ZeroOrMore(Box::new(AST::from_pattern(pattern, ctx)))
2624
}

0 commit comments

Comments
 (0)