From 6297d112c3a40bfc945a3c5bf281cf4784968adf Mon Sep 17 00:00:00 2001 From: Zhengchao An Date: Mon, 6 Jul 2026 23:14:14 +0800 Subject: [PATCH] fix: auto-repair breaking changes from 1b3727e2 (#4324) fix(heal): remove useless .into() conversion in heal error path Clippy flagged a useless_conversion lint at heal.rs:491 where is redundant because is already of type . --- crates/ecstore/src/set_disk/ops/heal.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ecstore/src/set_disk/ops/heal.rs b/crates/ecstore/src/set_disk/ops/heal.rs index ad2f1f026..f3607eacc 100644 --- a/crates/ecstore/src/set_disk/ops/heal.rs +++ b/crates/ecstore/src/set_disk/ops/heal.rs @@ -488,7 +488,7 @@ impl SetDisks { // Don't leak the partially-written healed shards in // .rustfs/tmp when heal fails midway (backlog#799 B20). let _ = self.delete_all(RUSTFS_META_TMP_BUCKET, &tmp_id).await; - return Err(e.into()); + return Err(e); } // close_bitrot_writers(&mut writers).await?;