Skip to content

Commit 6fdd6a3

Browse files
committed
fmt
1 parent 50dad0c commit 6fdd6a3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/exception.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,6 @@ pub fn throw_with_code(ex: &ClassEntry, code: i32, message: &str) -> Result<()>
207207
/// ```
208208
pub fn throw_object(zval: Zval) -> Result<()> {
209209
let mut zv = core::mem::ManuallyDrop::new(zval);
210-
unsafe {
211-
zend_throw_exception_object(core::ptr::addr_of_mut!(zv).cast())
212-
};
210+
unsafe { zend_throw_exception_object(core::ptr::addr_of_mut!(zv).cast()) };
213211
Ok(())
214212
}

0 commit comments

Comments
 (0)