diff options
Diffstat (limited to 'crates/mozart-php-serialize')
| -rw-r--r-- | crates/mozart-php-serialize/Cargo.toml | 3 | ||||
| -rw-r--r-- | crates/mozart-php-serialize/src/lib.rs | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/crates/mozart-php-serialize/Cargo.toml b/crates/mozart-php-serialize/Cargo.toml index e66a5b3..da7f4fc 100644 --- a/crates/mozart-php-serialize/Cargo.toml +++ b/crates/mozart-php-serialize/Cargo.toml @@ -2,3 +2,6 @@ name = "mozart-php-serialize" version.workspace = true edition.workspace = true + +[lints] +workspace = true diff --git a/crates/mozart-php-serialize/src/lib.rs b/crates/mozart-php-serialize/src/lib.rs index 6405ea8..b4c6873 100644 --- a/crates/mozart-php-serialize/src/lib.rs +++ b/crates/mozart-php-serialize/src/lib.rs @@ -16,7 +16,7 @@ //! does that during array construction, not at serialization time, so callers //! that care must construct [`Value::Int`] keys directly. -use std::fmt::Write; +use std::fmt::Write as _; /// One PHP value, suitable for `serialize()`. /// |
