File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ use anyhow::{Context, Result};
44use ext_php_rs:: describe:: Description ;
55use libloading:: os:: unix:: { Library , Symbol } ;
66
7+ #[ allow( improper_ctypes_definitions) ]
78pub struct Ext {
89 // These need to be here to keep the libraries alive. The extension library needs to be alive
910 // to access the describe function. Missing here is the lifetime on `Symbol<'a, fn() ->
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ impl<T: RegisteredClass> ZendClassObject<T> {
155155 /// # Parameters
156156 ///
157157 /// * `obj` - The zend object to get the [`ZendClassObject`] for.
158- pub fn from_zend_obj_mut ( std : & mut zend_object ) -> Option < & mut Self > {
158+ # [ allow ( clippy :: needless_pass_by_ref_mut ) ] pub fn from_zend_obj_mut ( std : & mut zend_object ) -> Option < & mut Self > {
159159 Self :: _from_zend_obj ( std)
160160 }
161161
You can’t perform that action at this time.
0 commit comments