Skip to content

Commit 7b1ad32

Browse files
committed
rustfmt: wrap long if-let line
1 parent 9d668b2 commit 7b1ad32

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

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

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,8 +1276,9 @@ unsafe extern "C" fn ast_get_gc(
12761276
) -> *mut HashTable {
12771277
let buf = zend_get_gc_buffer_create();
12781278

1279-
if let Some(ast) = ext_php_rs::types::ZendClassObject::<WpMySqlNativeAst>::from_zend_obj(&*object)
1280-
.and_then(|z| z.obj.as_ref())
1279+
if let Some(ast) =
1280+
ext_php_rs::types::ZendClassObject::<WpMySqlNativeAst>::from_zend_obj(&*object)
1281+
.and_then(|z| z.obj.as_ref())
12811282
{
12821283
if let Ok(cache) = ast.node_cache.try_borrow() {
12831284
for boxed in cache.values() {

0 commit comments

Comments
 (0)