Skip to content

Commit 841a217

Browse files
committed
Fix a warning
1 parent e51654b commit 841a217

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/translator/match_pattern.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ impl AST {
1616
Pattern::Any => AST::Any,
1717
Pattern::Set(hash_set) => AST::Set(hash_set.clone()),
1818
Pattern::Attributes(hash_set) => AST::from_attributes(hash_set, ctx),
19-
Pattern::Group(vec) => AST::NotImplemented,
20-
Pattern::Negate(pattern) => AST::NotImplemented,
19+
Pattern::Group(_vec) => AST::NotImplemented,
20+
Pattern::Negate(_pattern) => AST::NotImplemented,
2121
Pattern::Optional(pattern) => AST::Optional(Box::new(AST::from_pattern(pattern, ctx))),
2222
Pattern::ZeroOrMore(pattern) => {
2323
AST::ZeroOrMore(Box::new(AST::from_pattern(pattern, ctx)))

0 commit comments

Comments
 (0)