diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-10 15:35:35 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-10 15:35:35 +0900 |
| commit | deb44112883ab7ff932b0ab7c547680a615c7821 (patch) | |
| tree | a2f7f2416d8513eef064829e02689610e38760d3 /crates/mozart-php-serialize | |
| parent | 46845eff8d1398f35099a0ef914f77bcaf473287 (diff) | |
| download | php-mozart-deb44112883ab7ff932b0ab7c547680a615c7821.tar.gz php-mozart-deb44112883ab7ff932b0ab7c547680a615c7821.tar.zst php-mozart-deb44112883ab7ff932b0ab7c547680a615c7821.zip | |
refactor(clippy): deny clippy::unused_trait_names
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()`. /// |
