Skip to content

Commit c517931

Browse files
committed
Cleanup
1 parent ae2bd55 commit c517931

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zend/fibers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ impl EventLoop {
8686
}
8787

8888
pub fn suspend() {
89-
call_user_func!(Function::try_from_method("\\Revolt\\EventLoop", "getSuspension").unwrap()).unwrap().try_call_method("suspend", vec![]).unwrap();
89+
call_user_func!(Function::from_method("\\Revolt\\EventLoop", "getSuspension")).unwrap().try_call_method("suspend", vec![]).unwrap();
9090
}
9191

9292
pub fn get_sender(&self) -> Sender<u64> {

0 commit comments

Comments
 (0)