From 8ba7832895240714dc3374a81851517b661deb8a Mon Sep 17 00:00:00 2001 From: RA <70325462+RAprogramm@users.noreply.github.com> Date: Fri, 26 Sep 2025 16:11:41 +0700 Subject: [PATCH] chore: fix lint warning --- CHANGELOG.md | 6 ++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- src/response/details.rs | 1 - 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dfcbfa5..8fea720 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +## [0.23.2] - 2025-10-14 + +### Fixed +- Removed an unused `String` import from the response details module to keep + builds warning-free under `-D warnings`. + ## [0.23.1] - 2025-10-13 ### Fixed diff --git a/Cargo.lock b/Cargo.lock index 1344528..2b860df 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1733,7 +1733,7 @@ dependencies = [ [[package]] name = "masterror" -version = "0.23.1" +version = "0.23.2" dependencies = [ "actix-web", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index 641c99d..368d247 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "masterror" -version = "0.23.1" +version = "0.23.2" rust-version = "1.90" edition = "2024" license = "MIT OR Apache-2.0" diff --git a/src/response/details.rs b/src/response/details.rs index 3de1226..f1a05c4 100644 --- a/src/response/details.rs +++ b/src/response/details.rs @@ -63,6 +63,5 @@ impl ErrorResponse { Ok(self.with_details_json(details)) } } -use alloc::string::String; #[cfg(feature = "serde_json")] use alloc::string::ToString;