Skip to content

Commit 19aebf3

Browse files
committed
Fixes
1 parent 2cf7c66 commit 19aebf3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/src/lib.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#![cfg_attr(windows, feature(abi_vectorcall))]
2-
use ext_php_rs::{binary::Binary, prelude::*, types::ZendObject, types::Zval, exception::PhpException, zend::ce};
2+
use ext_php_rs::{
3+
binary::Binary, exception::PhpException, prelude::*, types::ZendObject, types::Zval, zend::ce,
4+
};
35
use std::collections::HashMap;
46

57
#[php_function]
@@ -119,7 +121,9 @@ pub struct TestException;
119121

120122
#[php_function]
121123
pub fn throw_custom_exception() -> PhpResult<i32> {
122-
Err(PhpException::from_class::<TestException>("Not good custom!".into()))
124+
Err(PhpException::from_class::<TestException>(
125+
"Not good custom!".into(),
126+
))
123127
}
124128

125129
#[php_function]

0 commit comments

Comments
 (0)