Skip to content

Commit 2092227

Browse files
authored
fix(clippy): clippy v1.92.0 (#605)
1 parent ea45775 commit 2092227

File tree

5 files changed

+2
-6
lines changed

5 files changed

+2
-6
lines changed

crates/macros/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//! Macros for the `php-ext` crate.
2+
#![allow(clippy::needless_continue)] // TODO: Remove this once darling is updated to remove clippy issues
23
mod class;
34
mod constant;
45
mod enum_;

src/macros.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,3 @@ macro_rules! php_println {
425425
$crate::php_print!(concat!($fmt, "\n"), $($arg)*);
426426
};
427427
}
428-
429-
pub(crate) use into_zval;
430-
pub(crate) use try_from_zval;

src/types/long.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ use crate::{
77
error::{Error, Result},
88
ffi::zend_long,
99
flags::DataType,
10-
macros::{into_zval, try_from_zval},
1110
types::Zval,
1211
};
1312

src/types/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pub use object::{PropertyQuery, ZendObject};
2323
pub use string::ZendStr;
2424
pub use zval::Zval;
2525

26-
use crate::{convert::FromZval, flags::DataType, macros::into_zval};
26+
use crate::{convert::FromZval, flags::DataType};
2727

2828
into_zval!(f32, set_double, Double);
2929
into_zval!(f64, set_double, Double);

src/types/string.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ use crate::{
2121
zend_string_init_interned,
2222
},
2323
flags::DataType,
24-
macros::try_from_zval,
2524
types::Zval,
2625
};
2726

0 commit comments

Comments
 (0)