From 6fdd6a35bd3527c964553c58254d2aab1852ec25 Mon Sep 17 00:00:00 2001 From: Joe Hoyle Date: Fri, 24 Nov 2023 13:47:25 +0100 Subject: [PATCH] fmt --- src/exception.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/exception.rs b/src/exception.rs index aed768aa4..de7febab5 100644 --- a/src/exception.rs +++ b/src/exception.rs @@ -207,8 +207,6 @@ pub fn throw_with_code(ex: &ClassEntry, code: i32, message: &str) -> Result<()> /// ``` pub fn throw_object(zval: Zval) -> Result<()> { let mut zv = core::mem::ManuallyDrop::new(zval); - unsafe { - zend_throw_exception_object(core::ptr::addr_of_mut!(zv).cast()) - }; + unsafe { zend_throw_exception_object(core::ptr::addr_of_mut!(zv).cast()) }; Ok(()) }