From eababa9917142f181981f5394e25515c02732d97 Mon Sep 17 00:00:00 2001 From: Brent Gardner Date: Wed, 27 Nov 2024 04:34:37 -0700 Subject: [PATCH] clippy --- object_store/src/client/s3.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/object_store/src/client/s3.rs b/object_store/src/client/s3.rs index 11af9f87d82..f131adb532a 100644 --- a/object_store/src/client/s3.rs +++ b/object_store/src/client/s3.rs @@ -125,8 +125,7 @@ impl From> for CompleteMultipartUpload { fn from(value: Vec) -> Self { let part = value .into_iter() - .enumerate() - .map(|(_, part)| MultipartPart { + .map(|part| MultipartPart { e_tag: part.e_tag, part_number: part.part_number, checksum_sha256: part.checksum_sha256,