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};
4
4
use ext_php_rs:: describe:: Description ;
5
5
use libloading:: os:: unix:: { Library , Symbol } ;
6
6
7
+ #[ allow( improper_ctypes_definitions) ]
7
8
pub struct Ext {
8
9
// These need to be here to keep the libraries alive. The extension library needs to be alive
9
10
// 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> {
155
155
/// # Parameters
156
156
///
157
157
/// * `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 > {
159
159
Self :: _from_zend_obj ( std)
160
160
}
161
161
You can’t perform that action at this time.
0 commit comments