From 88f5bb84ee8124d13fcfec03f07f7156e7a079c9 Mon Sep 17 00:00:00 2001 From: "Zhanxiang (Patrick) Huang" Date: Sun, 25 Jun 2023 13:12:43 +0800 Subject: [PATCH] Update madsim-aws-sdk-s3/src/server/service.rs Co-authored-by: Noel Kwan <47273164+kwannoel@users.noreply.github.com> --- madsim-aws-sdk-s3/src/server/service.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/madsim-aws-sdk-s3/src/server/service.rs b/madsim-aws-sdk-s3/src/server/service.rs index 47bc090..e8803c1 100644 --- a/madsim-aws-sdk-s3/src/server/service.rs +++ b/madsim-aws-sdk-s3/src/server/service.rs @@ -323,7 +323,7 @@ impl ServiceInner { multipart.sort_by_key(|part| part.part_number); for completed_part in multipart { - for part in parts.iter().enumerate() { + for part in parts.iter() { if part.part_number == completed_part.part_number { if let Some(e_tag) = &completed_part.e_tag { if e_tag == &part.e_tag {