Skip to content

Commit ea2a4d1

Browse files
committed
rustfmt: collapse short match arm
1 parent c8b4037 commit ea2a4d1

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • packages/php-ext-wp-mysql-parser/src

packages/php-ext-wp-mysql-parser/src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,9 +1253,7 @@ impl WpMySqlNativeAst {
12531253
classes: &PhpClasses,
12541254
) -> PhpResult<Zval> {
12551255
match child {
1256-
NativeAstChild::Node(index) => {
1257-
self.cached_node_zval(native_ast_zval, index, classes)
1258-
}
1256+
NativeAstChild::Node(index) => self.cached_node_zval(native_ast_zval, index, classes),
12591257
NativeAstChild::Token(index) => self
12601258
.arena
12611259
.token_source

0 commit comments

Comments
 (0)