We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a4e842 commit 0b5f8e3Copy full SHA for 0b5f8e3
phper/src/arrays.rs
@@ -31,6 +31,7 @@ pub struct Array {
31
}
32
33
impl Array {
34
+ #[allow(clippy::useless_conversion)]
35
pub fn new() -> EBox<Self> {
36
unsafe {
37
let mut array = EBox::new(zeroed::<Array>());
phper/src/objects.rs
@@ -77,6 +77,7 @@ impl<T: 'static> Object<T> {
77
self.get_mut_property(name).duplicate()
78
79
80
81
fn get_mut_property(&mut self, name: impl AsRef<str>) -> &mut Val {
82
let name = name.as_ref();
83
0 commit comments